<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Doc, 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/Doc?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Doc?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2024-09-06T11:14:09Z</updated>
<entry>
<title>[3.8] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123770)</title>
<updated>2024-09-06T11:14:09Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2024-09-06T11:14:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4d069d5b1170b9d82013ab824ff5d6cf28964d97'/>
<id>urn:sha1:4d069d5b1170b9d82013ab824ff5d6cf28964d97</id>
<content type='text'>
Detect email address parsing errors and return empty tuple to
indicate the parsing error (old API). Add an optional 'strict'
parameter to getaddresses() and parseaddr() functions. Patch by
Thomas Dwyer.

(cherry picked from commit 4a153a1d3b18803a684cd1bcc2cdf3ede3dbae19)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;
Co-Authored-By: Thomas Dwyer &lt;github@tomd.tel&gt;
</content>
</entry>
<entry>
<title>[3.8] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) (#122611)</title>
<updated>2024-09-04T15:36:17Z</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2024-09-04T15:36:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b158a76ce094897c870fb6b3de62887b7ccc33f1'/>
<id>urn:sha1:b158a76ce094897c870fb6b3de62887b7ccc33f1</id>
<content type='text'>
Per RFC 2047:

&gt; [...] these encoding schemes allow the
&gt; encoding of arbitrary octet values, mail readers that implement this
&gt; decoding should also ensure that display of the decoded data on the
&gt; recipient's terminal will not cause unwanted side-effects

It seems that the "quoted-word" scheme is a valid way to include
a newline character in a header value, just like we already allow
undecodable bytes or control characters.
They do need to be properly quoted when serialized to text, though.

This should fail for custom fold() implementations that aren't careful
about newlines.

(cherry picked from commit 097633981879b3c9de9a1dd120d3aa585ecc2384)

Co-authored-by: Petr Viktorin &lt;encukou@gmail.com&gt;
Co-authored-by: Bas Bloemsaat &lt;bas@bloemsaat.org&gt;
Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
</content>
</entry>
<entry>
<title>[3.8] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122121)</title>
<updated>2024-07-22T15:08:28Z</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2024-07-22T15:08:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1fb69b324720d9e0463c8fd52bd5737837167162'/>
<id>urn:sha1:1fb69b324720d9e0463c8fd52bd5737837167162</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[3.8] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118742)</title>
<updated>2024-05-24T17:27:13Z</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2024-05-24T17:27:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91e3669e01245185569d09e9e6e11641282971ee'/>
<id>urn:sha1:91e3669e01245185569d09e9e6e11641282971ee</id>
<content type='text'>
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;</content>
</entry>
<entry>
<title>[3.8] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179) (GH-113186) (GH-118177) (GH-118479)</title>
<updated>2024-05-07T09:58:20Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2024-05-07T09:58:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=895f7e2ac23eff4743143beef0f0c5ac71ea27d3'/>
<id>urn:sha1:895f7e2ac23eff4743143beef0f0c5ac71ea27d3</id>
<content type='text'>
The _private_networks variables, used by various is_private
implementations, were missing some ranges and at the same time had
overly strict ranges (where there are more specific ranges considered
globally reachable by the IANA registries).

This patch updates the ranges with what was missing or otherwise
incorrect.

100.64.0.0/10 is left alone, for now, as it's been made special in [1].

The _address_exclude_many() call returns 8 networks for IPv4, 121
networks for IPv6.

[1] https://github.com/python/cpython/issues/61602

In 3.10 and below, is_private checks whether the network and broadcast
address are both private.
In later versions (where the test wss backported from), it checks
whether they both are in the same private network.

For 0.0.0.0/0, both 0.0.0.0 and 255.225.255.255 are private,
but one is in 0.0.0.0/8 ("This network") and the other in
255.255.255.255/32 ("Limited broadcast").

---------

Co-authored-by: Jakub Stasiak &lt;jakub@stasiak.at&gt;</content>
</entry>
<entry>
<title>[3.8] gh-114539: Clarify implicit launching of shells by subprocess (GH-117996) (GH-118006)</title>
<updated>2024-05-07T08:48:26Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2024-05-07T08:48:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14ac620e280aba83ce73b742ca36ac5e614b9a0a'/>
<id>urn:sha1:14ac620e280aba83ce73b742ca36ac5e614b9a0a</id>
<content type='text'>
(cherry picked from commit a4b44d39cd6941cc03590fee7538776728bdfd0a)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
</entry>
<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>[3.8] gh-115399: Document CVE-2023-52425 under "XML vulnerabilities" (GH-115400) (GH-115764)</title>
<updated>2024-02-21T11:43:42Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2024-02-21T11:43:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e7f79a196ece59990516d659dfe764056d1517e'/>
<id>urn:sha1:1e7f79a196ece59990516d659dfe764056d1517e</id>
<content type='text'>
Doc/library/xml.rst: Document CVE-2023-52425 under "XML vulnerabilities"
(cherry picked from commit fbd40ce46e7335a5dbaf48a3aa841be22d7302ba)

Co-authored-by: Sebastian Pipping &lt;sebastian@pipping.org&gt;</content>
</entry>
<entry>
<title>[3.8] gh-115349: Pin theme to fix code snippets (GH-115351) (#115404)</title>
<updated>2024-02-13T13:44:07Z</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2024-02-13T13:44:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a21c0c7def9a8495f1166d9b434dfc301cb92bff'/>
<id>urn:sha1:a21c0c7def9a8495f1166d9b434dfc301cb92bff</id>
<content type='text'>
(cherry picked from commit 3fcea416f8261790ce700c52c4262ccb668716d6)

Co-authored-by: Hugo van Kemenade &lt;1324225+hugovk@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.8] gh-114021: Pin various sphinxcontrib extensions to older versions (GH-114022) (GH-114040)</title>
<updated>2024-01-17T13:42:12Z</updated>
<author>
<name>Adam Turner</name>
<email>9087854+AA-Turner@users.noreply.github.com</email>
</author>
<published>2024-01-17T13:42:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a9115165c800e72f1ce0db625a725ec3a20120cb'/>
<id>urn:sha1:a9115165c800e72f1ce0db625a725ec3a20120cb</id>
<content type='text'>
(cherry picked from commit 94b1d1fa38ada8cf7d196184a04a195c152eed75)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;</content>
</entry>
</feed>
