<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/xml/etree, branch 3.10</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/xml/etree?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/xml/etree?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2026-08-10T19:53:46Z</updated>
<entry>
<title>[3.10] gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates (GH-152676) (#154814)</title>
<updated>2026-08-10T19:53:46Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-08-10T19:53:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=037965c00a427cba5c05447efadc67c51a492e85'/>
<id>urn:sha1:037965c00a427cba5c05447efadc67c51a492e85</id>
<content type='text'>
gh-152674: Avoid quadratic behavior in xml.etree.ElementPath index predicates (GH-152676)

(cherry picked from commit 2ffab083782968a4d732738f4f1dff6bbd69d2b0)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Alexis &lt;alexis.challande@trailofbits.com&gt;
Co-authored-by: Bénédikt Tran &lt;10796600+picnixz@users.noreply.github.com&gt;
Co-authored-by: Hugo van Kemenade &lt;1324225+hugovk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-115398: Expose Expat &gt;=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116270)</title>
<updated>2024-03-06T23:02:55Z</updated>
<author>
<name>Sebastian Pipping</name>
<email>sebastian@pipping.org</email>
</author>
<published>2024-03-06T23:02:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=516a6d4237fe3b9fb02a800b81a0a3153f78685e'/>
<id>urn:sha1:516a6d4237fe3b9fb02a800b81a0a3153f78685e</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>gh-91810: Fix regression with writing an XML declaration with encoding='unicode' (GH-93426) (GH-93790)</title>
<updated>2022-06-16T16:16:42Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-16T16:16:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a27f3ccea5d83917ef5d9d4c6b43d65e96c06ed3'/>
<id>urn:sha1:a27f3ccea5d83917ef5d9d4c6b43d65e96c06ed3</id>
<content type='text'>
Suppress writing an XML declaration in open files in ElementTree.write()
with encoding='unicode' and xml_declaration=None.

If file patch is passed to ElementTree.write() with encoding='unicode',
always open a new file in UTF-8.
(cherry picked from commit d7db9dc3cc5b44d0b4ce000571fecf58089a01ec)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903) (GH-92664)</title>
<updated>2022-05-11T17:39:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-05-11T17:39:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4730b0d6f3e6a6bc04de980c071a07adab41a1c9'/>
<id>urn:sha1:4730b0d6f3e6a6bc04de980c071a07adab41a1c9</id>
<content type='text'>
ElementTree method write() and function tostring() now use the text file's
encoding ("UTF-8" if not available) instead of locale encoding in XML
declaration when encoding="unicode" is specified.
(cherry picked from commit 707839b0fe02ba2c891a40f40e7a869d84c2c9c5)


Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;

Automerge-Triggered-By: GH:serhiy-storchaka</content>
</entry>
<entry>
<title>[3.10] bpo-43504: Remove effbot urls (GH-26308) (#92161)</title>
<updated>2022-05-02T18:21:51Z</updated>
<author>
<name>Thaddeus1499</name>
<email>104600742+Thaddeus1499@users.noreply.github.com</email>
</author>
<published>2022-05-02T18:21:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8ab1633fce42e84734179d267a1cd01e3fef323'/>
<id>urn:sha1:c8ab1633fce42e84734179d267a1cd01e3fef323</id>
<content type='text'>
* [3.10] Remove effbot urls (GH-26308).
(cherry picked from commit e9f66aedf44ccc3be27975cfb070a44ce6a6bd13)

Co-authored-by: E-Paine &lt;63801254+E-Paine@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)</title>
<updated>2022-03-07T10:31:52Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-03-07T10:31:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8acbb93c0763fa53b5959fe05d86ba275c9e8a5b'/>
<id>urn:sha1:8acbb93c0763fa53b5959fe05d86ba275c9e8a5b</id>
<content type='text'>
Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
(cherry picked from commit 496c428de3318c9c5770937491b71dc3d3f18a6a)

Co-authored-by: Jacob Walls &lt;jacobtylerwalls@gmail.com&gt;</content>
</entry>
<entry>
<title>Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)</title>
<updated>2021-07-30T14:25:28Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-30T14:25:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7f1c26423b1208ef22cbe0f60f36e26a51cebf6'/>
<id>urn:sha1:f7f1c26423b1208ef22cbe0f60f36e26a51cebf6</id>
<content type='text'>
(cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c)

Co-authored-by: Noah Kantrowitz &lt;noah@coderanger.net&gt;</content>
</entry>
<entry>
<title>bpo-43399: Fix ElementTree.extend not working on iterators (GH-24751)</title>
<updated>2021-03-30T21:11:29Z</updated>
<author>
<name>Alex Prengère</name>
<email>2138730+alexprengere@users.noreply.github.com</email>
</author>
<published>2021-03-30T21:11:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=51a85ddce8b336addcb61b96f04c9c5edef07296'/>
<id>urn:sha1:51a85ddce8b336addcb61b96f04c9c5edef07296</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-42151: don't set specified_attributes=1 in pure Python ElementTree (GH-22987)</title>
<updated>2021-02-24T02:25:31Z</updated>
<author>
<name>Felix C. Stegerman</name>
<email>flx@obfusk.net</email>
</author>
<published>2021-02-24T02:25:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1f433406bd46fbd00b88223ad64daea6bc9eaadc'/>
<id>urn:sha1:1f433406bd46fbd00b88223ad64daea6bc9eaadc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-40624: Add support for the XPath != operator in xml.etree (GH-22147)</title>
<updated>2020-11-09T07:02:39Z</updated>
<author>
<name>Ammar Askar</name>
<email>ammar@ammaraskar.com</email>
</author>
<published>2020-11-09T07:02:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=97e8b1eaeaf3aa325c84ff2e13417c30414d0269'/>
<id>urn:sha1:97e8b1eaeaf3aa325c84ff2e13417c30414d0269</id>
<content type='text'>
</content>
</entry>
</feed>
