<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_elementtree.c, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_elementtree.c?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_elementtree.c?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2024-03-06T23:03:44Z</updated>
<entry>
<title>[3.8] gh-115398: Expose Expat &gt;=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116275)</title>
<updated>2024-03-06T23:03:44Z</updated>
<author>
<name>Sebastian Pipping</name>
<email>sebastian@pipping.org</email>
</author>
<published>2024-03-06T23:03:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=854f6452947d9c6124f8f30f0423e8766dab972f'/>
<id>urn:sha1:854f6452947d9c6124f8f30f0423e8766dab972f</id>
<content type='text'>
Allow controlling Expat &gt;=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods:

- `xml.etree.ElementTree.XMLParser.flush`
- `xml.etree.ElementTree.XMLPullParser.flush`
- `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`
- `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`
- `xml.sax.expatreader.ExpatParser.flush`

Based on the "flush" idea from https://github.com/python/cpython/pull/115138#issuecomment-1932444270 .

Includes code suggested-by: Snild Dolkow &lt;snild@sony.com&gt;
and by core dev Serhiy Storchaka.

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
</entry>
<entry>
<title>bpo-31758: Prevent crashes when using an uninitialized _elementtree.XMLParser object (GH-3997) (GH-19485)</title>
<updated>2020-04-12T15:18:57Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-04-12T15:18:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=61511488cf4e7a1cb57a38efba7e0a84a387fe58'/>
<id>urn:sha1:61511488cf4e7a1cb57a38efba7e0a84a387fe58</id>
<content type='text'>
(cherry picked from commit 402e1cdb132f384e4dcde7a3d7ec7ea1fc7ab527)</content>
</entry>
<entry>
<title>bpo-39903: Fix double decref in _elementtree.Element.__getstate__ (GH-18850)</title>
<updated>2020-03-09T12:55:17Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-03-09T12:55:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97bbdb28b4ab9519780f924e3267ac70af1cd5b8'/>
<id>urn:sha1:97bbdb28b4ab9519780f924e3267ac70af1cd5b8</id>
<content type='text'>
(cherry picked from commit 88944a44aa84b0f3674939019b1befbc7a9dc874)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-37206: Unrepresentable default values no longer represented as None. (GH-13933) (GH-16141)</title>
<updated>2019-09-14T10:31:50Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-09-14T10:31:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d322abbb83eb751045246a70f39d040d13a6108b'/>
<id>urn:sha1:d322abbb83eb751045246a70f39d040d13a6108b</id>
<content type='text'>
In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values
(like in the optional third parameter of getattr). "None" should be used if None is accepted
as argument and passing None has the same effect as not passing the argument at all.
(cherry picked from commit 279f44678c8b84a183f9eeb85e0b086228154497)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-37399: Correctly attach tail text to the last element/comment/pi (GH-14856) (GH-14936)</title>
<updated>2019-07-24T18:46:01Z</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2019-07-24T18:46:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb697899aa65d90488af1950ac7cceeb3877d409'/>
<id>urn:sha1:bb697899aa65d90488af1950ac7cceeb3877d409</id>
<content type='text'>
* bpo-37399: Correctly attach tail text to the last element/comment/pi, even when comments or pis are discarded.
Also fixes the insertion of PIs when "insert_pis=True" is configured for a TreeBuilder.</content>
</entry>
<entry>
<title>bpo-36974: tp_print -&gt; tp_vectorcall_offset and tp_reserved -&gt; tp_as_async (GH-13464)</title>
<updated>2019-05-31T02:13:39Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-31T02:13:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=530f506ac91338b55cf2be71b1cdf50cb077512f'/>
<id>urn:sha1:530f506ac91338b55cf2be71b1cdf50cb077512f</id>
<content type='text'>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</content>
</entry>
<entry>
<title>bpo-36946: Fix possible signed integer overflow when handling slices. (GH-13375)</title>
<updated>2019-05-17T07:13:03Z</updated>
<author>
<name>Zackery Spytz</name>
<email>zspytz@gmail.com</email>
</author>
<published>2019-05-17T07:13:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14514d9084a40f599c57da853a305aa264562a43'/>
<id>urn:sha1:14514d9084a40f599c57da853a305aa264562a43</id>
<content type='text'>
The final addition (cur += step) may overflow, so use size_t for "cur".
"cur" is always positive (even for negative steps), so it is safe to use
size_t here.

Co-Authored-By: Martin Panter &lt;vadmium+py@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-35983: skip trashcan for subclasses (GH-11841)</title>
<updated>2019-05-10T17:21:10Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-10T17:21:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=351c67416ba4451eb3928fa0b2e933c2f25df1a3'/>
<id>urn:sha1:351c67416ba4451eb3928fa0b2e933c2f25df1a3</id>
<content type='text'>
Add new trashcan macros to deal with a double deallocation that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` of a base class and that base class uses the trashcan mechanism.

Patch by Jeroen Demeyer.</content>
</entry>
<entry>
<title>bpo-36811: Fix a C compiler warning in _elementtree.c. (GH-13109)</title>
<updated>2019-05-06T15:36:35Z</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2019-05-06T15:36:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b95149eccac540a911a5ada03fcb7d623a0de37'/>
<id>urn:sha1:6b95149eccac540a911a5ada03fcb7d623a0de37</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-28238: Implement "{*}tag" and "{ns}*" wildcard tag selection support for ElementPath, and extend the surrounding tests and docs. (GH-12997)</title>
<updated>2019-05-03T18:58:16Z</updated>
<author>
<name>Stefan Behnel</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2019-05-03T18:58:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=47541689ccea79dfcb055c6be5800b13fcb6bdd2'/>
<id>urn:sha1:47541689ccea79dfcb055c6be5800b13fcb6bdd2</id>
<content type='text'>
</content>
</entry>
</feed>
