<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules, 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/Modules?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2026-10-01T00:29:24Z</updated>
<entry>
<title>[3.10] gh-157953: Update bundled Expat to 2.8.5 (GH-157957) (#158327)</title>
<updated>2026-10-01T00:29:24Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-10-01T00:29:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4fda06832e19cd3e5f8e20024584f33a362e0bbc'/>
<id>urn:sha1:4fda06832e19cd3e5f8e20024584f33a362e0bbc</id>
<content type='text'>
(cherry picked from commit 5f1f21894f56973078f170f6d0709b59a57605fd)
(cherry picked from commit 721007eeb8a182475d83061b131d3e85e43eee41)</content>
</entry>
<entry>
<title>[3.10] gh-156293: Use-after-free for server-side SSLContext with sni_callback (GH-158504) (#158524)</title>
<updated>2026-10-01T00:29:01Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>68491+gpshead@users.noreply.github.com</email>
</author>
<published>2026-10-01T00:29:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ec44b5a3258cbda947d5e07242ee562ed05ef24b'/>
<id>urn:sha1:ec44b5a3258cbda947d5e07242ee562ed05ef24b</id>
<content type='text'>
* [3.10] gh-156293: ssl: do not call the servername callback through a released SSLContext

The servername (SNI) callback located its SSLContext through a borrowed
pointer registered with OpenSSL, which can outlive the SSLContext object.
Look the context up from the SSL object instead, and unregister the
callback when the context is deallocated.

Backport of 87665c9b1f882e262640145b96dd697541cd9d13,
adapted to this branch's servername callback code.

* [3.10] gh-156293: Document sni_callback dispatch after a context switch</content>
</entry>
<entry>
<title>[3.10] gh-156723: Update bundled libexpat to version 2.8.4 (GH-156724) (#156787)</title>
<updated>2026-09-27T19:39:48Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-09-27T19:39:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1ab1aa8ecb40f2b65a67799192a1e1484c7b5e2e'/>
<id>urn:sha1:1ab1aa8ecb40f2b65a67799192a1e1484c7b5e2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[3.10] gh-155558: Update bundled Expat to 2.8.3 (GH-155560) (#155618)</title>
<updated>2026-08-13T00:29:50Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-13T00:29:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=451ece914bf61260863da8349eb0ea29dddb75ba'/>
<id>urn:sha1:451ece914bf61260863da8349eb0ea29dddb75ba</id>
<content type='text'>
* [3.10] gh-155558: Update bundled Expat to 2.8.3 (GH-155560)
(cherry picked from commit 3d6a50598ba7c89a6468f8e77afe2a39787c80e5)

Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;

* Don't use role unsupported by old Sphnx</content>
</entry>
<entry>
<title>[3.10] gh-149018: Use `XML_SetHashSalt16Bytes` in `pyexpat`/`_elementtree` when possible (GH-149023) (#155611)</title>
<updated>2026-08-13T00:29:44Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-13T00:29:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea70712d1a8508e14e9677d44f838dab04dc0286'/>
<id>urn:sha1:ea70712d1a8508e14e9677d44f838dab04dc0286</id>
<content type='text'>
* [3.10] gh-149018: Use `XML_SetHashSalt16Bytes` in `pyexpat`/`_elementtree` when possible (GH-149023) (GH-155345)
(cherry picked from commit e37df2a6a71d6538698e2d3188a7c345b827640b)
(cherry picked from commit 95cf26d5796406bdd9ae216ae33bb0cd723af354)

Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;
(cherry picked from commit fc9b11ff49cbc82e6f917d07a61517a2b5f3145f)
(cherry picked from commit 24b8f12544468e4cedf5bfbe25442fcd495391e4)

* Fix SetHashSalt16Bytes assignment in pyexpat.c</content>
</entry>
<entry>
<title>[3.10] gh-152216: Update bundled expat to 2.8.2 (GH-152234) (#155577)</title>
<updated>2026-08-11T22:53:00Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-11T22:53:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=31e6a4cffa50b3eafbe4abcf33efb33718b7294d'/>
<id>urn:sha1:31e6a4cffa50b3eafbe4abcf33efb33718b7294d</id>
<content type='text'>
[3.10] gh-152216: Update bundled expat to 2.8.2 (GH-152234) (GH-154747) (GH-155552)

[3.13] gh-152216: Update bundled expat to 2.8.2 (GH-152234) (GH-154747)
(cherry picked from commit 31b4886e8f63275913fc01031466e10a4e4aed6f)
(cherry picked from commit c22e9c9daef4d97a3fdf1d41a119947ed46ad937)
(cherry picked from commit 01d1f81d5aebcd7f89e2871e910cf43cc8daec8a)

Co-authored-by: Miss Islington (bot) &lt;31488909+miss-islington@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-149698: Update bundled expat to 2.8.1 (GH-149699) (#155551)</title>
<updated>2026-08-11T16:07:38Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-11T16:07:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f1b3df5e0344a6e54707a5ff2d475f611881364e'/>
<id>urn:sha1:f1b3df5e0344a6e54707a5ff2d475f611881364e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[3.10] gh-149079: Fix O(n^2) canonical ordering in unicodedata.normalize() (GH-149080) (GH-150843) (#155159)</title>
<updated>2026-08-10T19:53:37Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2026-08-10T19:53:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=db744c0776c1d5dd11aaa70eff2a6993c408bacc'/>
<id>urn:sha1:db744c0776c1d5dd11aaa70eff2a6993c408bacc</id>
<content type='text'>
[3.12] gh-149079: Fix O(n^2) canonical ordering in unicodedata.normalize() (GH-149080) (GH-150843)

Replace the insertion sort used for canonical ordering of combining
characters with a hybrid approach: insertion sort for short runs (&lt; 20)
and counting sort for longer runs, reducing worst-case complexity from
O(n^2) to O(n). This prevents denial of service via crafted Unicode
strings with many combining characters in alternating CCC order.

(cherry picked from commit 991224b1e8311c85f198f6dd8208bf8cff7fc26f)
(cherry picked from commit d3ab945af25b28dfe13ac6cb40c124a01b33ce1f)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Seth Larson &lt;seth@python.org&gt;
Co-authored-by: ch4n3-yoon &lt;ch4n3.yoon@gmail.com&gt;
Co-authored-by: Seokchan Yoon &lt;13852925+ch4n3-yoon@users.noreply.github.com&gt;
Co-authored-by: Stan Ulbrych &lt;stan@python.org&gt;
Co-authored-by: Bénédikt Tran &lt;10796600+picnixz@users.noreply.github.com&gt;
Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Maurycy Pawłowski-Wieroński &lt;maurycy@maurycy.com&gt;
Co-authored-by: Hugo van Kemenade &lt;1324225+hugovk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) (#151401) (#155414)</title>
<updated>2026-08-10T19:53:35Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-10T19:53:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14c3f89d7ffecdb19f827b3fe789318d92ca49ca'/>
<id>urn:sha1:14c3f89d7ffecdb19f827b3fe789318d92ca49ca</id>
<content type='text'>
Expose the XML Expat 2.7.2 APIs to tune protections against
"billion laughs" [1] attacks.

The exposed APIs are available on Expat parsers, that is,
parsers created by `xml.parsers.expat.ParserCreate()`, as:

- `parser.SetBillionLaughsAttackProtectionActivationThreshold(threshold)`, and
- `parser.SetBillionLaughsAttackProtectionMaximumAmplification(max_factor)`.

This completes the work in f04bea44c37793561d753dd4ca6e7cd658137553,
and improves the existing related documentation.

[1]: https://en.wikipedia.org/wiki/Billion_laughs_attack
(cherry picked from commit 666112376d574c7802646ee1df6244062671cd61)
(cherry picked from commit 19bc39127e5c916c42c54487a1ae68be76582f50)


(cherry picked from commit db195e38a499c837b3ea2cf0aa1c9383e76ddc80)

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-149017: Upgrade bundled Expat to 2.8.0 (#149020) (#149075)</title>
<updated>2026-08-10T17:09:25Z</updated>
<author>
<name>Stan Ulbrych</name>
<email>stan@python.org</email>
</author>
<published>2026-08-10T17:09:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd0256f616f206d99c1a6680049e0d0148be9ff1'/>
<id>urn:sha1:fd0256f616f206d99c1a6680049e0d0148be9ff1</id>
<content type='text'>
* gh-149017: Upgrade bundled Expat to 2.8.0 (#149020)

(cherry picked from commit 005555a3f0ae20ee8154eb4ee172e1e355144c8c)

* Move 'em undefs after `#include &lt;pyconfig.h&gt;` after all

* IDK Windows things, but this seems to be where they are defined...?!</content>
</entry>
</feed>
