<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/xml, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/xml?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/xml?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-142145: Remove quadratic behavior in node ID cache clearing (GH-142146) (#142213)</title>
<updated>2026-01-25T17:10:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-01-25T17:10:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c97e87593063d84a2bd9fe7068b30eb44de23dc0'/>
<id>urn:sha1:c97e87593063d84a2bd9fe7068b30eb44de23dc0</id>
<content type='text'>
* gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146)

* Remove quadratic behavior in node ID cache clearing

Co-authored-by: Jacob Walls &lt;38668450+jacobtylerwalls@users.noreply.github.com&gt;

* Add news fragment

---------
(cherry picked from commit 08d8e18ad81cd45bc4a27d6da478b51ea49486e4)

Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;
Co-authored-by: Jacob Walls &lt;38668450+jacobtylerwalls@users.noreply.github.com&gt;

* [3.14] gh-142754: Ensure that Element &amp; Attr instances have the ownerDocument attribute (GH-142794) (#142818)

gh-142754: Ensure that Element &amp; Attr instances have the ownerDocument attribute (GH-142794)
(cherry picked from commit 1cc7551b3f9f71efbc88d96dce90f82de98b2454)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Hugo van Kemenade &lt;1324225+hugovk@users.noreply.github.com&gt;

* gh-142145: relax the no-longer-quadratic test timing (GH-143030)

* gh-142145: relax the no-longer-quadratic test timing

* require cpu resource
(cherry picked from commit 8d2d7bb2e754f8649a68ce4116271a4932f76907)

Co-authored-by: Gregory P. Smith &lt;68491+gpshead@users.noreply.github.com&gt;

* merge NEWS entries into one

---------

Co-authored-by: Seth Michael Larson &lt;seth@python.org&gt;
Co-authored-by: Jacob Walls &lt;38668450+jacobtylerwalls@users.noreply.github.com&gt;
Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Hugo van Kemenade &lt;1324225+hugovk@users.noreply.github.com&gt;
Co-authored-by: Gregory P. Smith &lt;68491+gpshead@users.noreply.github.com&gt;
Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&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-96175: add missing self._localName assignment in `xml.dom.minidom.Attr` (GH-96176)</title>
<updated>2022-08-23T16:42:10Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-08-23T16:42:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e783a23702f181cdd5b371f180bedbe87a95920b'/>
<id>urn:sha1:e783a23702f181cdd5b371f180bedbe87a95920b</id>
<content type='text'>
X-Ref: https://github.com/python/typeshed/pull/8590GH-discussion_r951473977

Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;
(cherry picked from commit 58f6953d6d3fe20d972bfa2f6e982206adcf1353)

Co-authored-by: Kevin Kirsche &lt;Kev.Kirsche+GitHub@gmail.com&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>
</feed>
