<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/internal, branch 3.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/internal?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/internal?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-09-06T05:24:36Z</updated>
<entry>
<title>[3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)</title>
<updated>2022-09-06T05:24:36Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@krypto.org</email>
</author>
<published>2022-09-06T05:24:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2'/>
<id>urn:sha1:15ec1afd4fcd2da1e2d2b256c562fb42d8d886a2</id>
<content type='text'>
Converting between `int` and `str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
raises a `ValueError` if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the algorithmic
complexity. This is a mitigation for CVE-2020-10735
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).

This new limit can be configured or disabled by environment variable, command
line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
Limitation` documentation.  The default limit is 4300
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.</content>
</entry>
<entry>
<title>[3.7] gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93149)</title>
<updated>2022-05-23T21:11:19Z</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2022-05-23T21:11:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a4ca49b4b49b77501955dfa5a04191e67822216'/>
<id>urn:sha1:3a4ca49b4b49b77501955dfa5a04191e67822216</id>
<content type='text'>
Also while there, clarify a few things about why we reduce the hash to 32 bits.

Co-authored-by: Eli Libman &lt;eli@hyro.ai&gt;
Co-authored-by: Yury Selivanov &lt;yury@edgedb.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5)</content>
</entry>
<entry>
<title>[3.7] bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770) (GH-12788)</title>
<updated>2019-04-11T20:30:31Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-11T20:30:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e23f0a27cb8bf6e4ea1d2aef36a91502282bbc9'/>
<id>urn:sha1:9e23f0a27cb8bf6e4ea1d2aef36a91502282bbc9</id>
<content type='text'>
* bpo-36389: _PyObject_IsFreed() now also detects uninitialized memory (GH-12770)

Replace _PyMem_IsFreed() function with _PyMem_IsPtrFreed() inline
function. The function is now way more efficient, it became a simple
comparison on integers, rather than a short loop. It detects also
uninitialized bytes and "forbidden bytes" filled by debug hooks
on memory allocators.

Add unit tests on _PyObject_IsFreed().

(cherry picked from commit 2b00db68554422ec37faba2a80179a0172df6349)

* bpo-36389: Change PyMem_SetupDebugHooks() constants (GH-12782)

Modify CLEANBYTE, DEADDYTE and FORBIDDENBYTE constants: use 0xCD,
0xDD and 0xFD, rather than 0xCB, 0xBB and 0xFB, to use the same byte
patterns than Windows CRT debug malloc() and free().

(cherry picked from commit 4c409beb4c360a73d054f37807d3daad58d1b567)
</content>
</entry>
<entry>
<title>bpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12436)</title>
<updated>2019-03-19T14:08:17Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-19T14:08:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=935250d6f3ac7ba91e1ea8e6ca63aaf7f605e291'/>
<id>urn:sha1:935250d6f3ac7ba91e1ea8e6ca63aaf7f605e291</id>
<content type='text'>
Ensure that _PyRuntime_Finalize() is always call. This change fix a
few memory leaks when running "python3 -V".</content>
</entry>
<entry>
<title>bpo-32604: Remove xid registry. (#6813)</title>
<updated>2018-05-15T13:56:18Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2018-05-15T13:56:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6bd0c476c58ca0046969f70dc2a4e4dfb3268062'/>
<id>urn:sha1:6bd0c476c58ca0046969f70dc2a4e4dfb3268062</id>
<content type='text'>
Remove the interpreters testing helper (and xid registry).</content>
</entry>
<entry>
<title>Spelling fixes to docs, docstrings, and comments (GH-6374)</title>
<updated>2018-04-20T21:00:41Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-04-20T21:00:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32955299b4b102138220150e2925de4ce7f17c82'/>
<id>urn:sha1:32955299b4b102138220150e2925de4ce7f17c82</id>
<content type='text'>
(cherry picked from commit 61f82e0e337f971da57f8f513abfe693edf95aa5)

Co-authored-by: Ville Skyttä &lt;ville.skytta@iki.fi&gt;</content>
</entry>
<entry>
<title>bpo-32604: Clean up created subinterpreters before runtime finalization. (gh-5710)</title>
<updated>2018-02-17T02:15:24Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-17T02:15:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3db05a3a9c109f49d54b4965852e41c657e9b117'/>
<id>urn:sha1:3db05a3a9c109f49d54b4965852e41c657e9b117</id>
<content type='text'>
(cherry picked from commit 4c6955e2b0ccf88c705f8d1fac685a8e65f9699e)

Co-authored-by: Eric Snow &lt;ericsnowcurrently@gmail.com&gt;</content>
</entry>
<entry>
<title>Revert "bpo-31356: Add context manager to temporarily disable GC GH-5495 (#5496)</title>
<updated>2018-02-02T15:04:32Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-02T15:04:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29fd9eae432a54c963262e895b46f081f238539a'/>
<id>urn:sha1:29fd9eae432a54c963262e895b46f081f238539a</id>
<content type='text'>
This reverts commit 72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c.

The reverted commit had a few issues so it was unanimously decided
to undo it. See the bpo issue for details.
(cherry picked from commit 383b32fe108ea627699cc9c644fba5f8bae95d73)

Co-authored-by: Yury Selivanov &lt;yury@magic.io&gt;</content>
</entry>
<entry>
<title>bpo-32604: Expose the subinterpreters C-API in a "private" stdlib module. (gh-1748)</title>
<updated>2018-01-30T01:23:44Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2018-01-30T01:23:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7f8bfc9b9a8381ddb768421b5dd5cbd970266190'/>
<id>urn:sha1:7f8bfc9b9a8381ddb768421b5dd5cbd970266190</id>
<content type='text'>
The module is primarily intended for internal use in the test suite.  Building the module under Windows will come in a follow-up PR.</content>
</entry>
<entry>
<title>bpo-31356: Add context manager to temporarily disable GC (GH-4224)</title>
<updated>2018-01-29T20:37:09Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2018-01-29T20:37:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c'/>
<id>urn:sha1:72a0d218dcc94a3cc409a9ef32dfcd5a7bbcb43c</id>
<content type='text'>
</content>
</entry>
</feed>
