<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules, branch v3.11.0a4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-46070: _PyGC_Fini() untracks objects (GH-30577)</title>
<updated>2022-01-13T18:28:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-01-13T18:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1a4d1c1c9b08e75e88aeac90901920938f649832'/>
<id>1a4d1c1c9b08e75e88aeac90901920938f649832</id>
<content type='text'>
Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Py_EndInterpreter() now explicitly untracks all objects currently
tracked by the GC. Previously, if an object was used later by another
interpreter, calling PyObject_GC_UnTrack() on the object crashed if
the previous or the next object of the PyGC_Head structure became a
dangling pointer.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40479: Fix hashlib's usedforsecurity for OpenSSL 3.0.0 (GH-30455)</title>
<updated>2022-01-13T08:46:38+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-13T08:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=443b308fee088e21bbf472c376c5c9e3648f916c'/>
<id>443b308fee088e21bbf472c376c5c9e3648f916c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507)</title>
<updated>2022-01-13T08:46:04+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-13T08:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a6ca8eee2254762422f90cf94fbaac34f85db780'/>
<id>a6ca8eee2254762422f90cf94fbaac34f85db780</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45953: Statically allocate the main interpreter (and initial thread state). (gh-29883)</title>
<updated>2022-01-12T23:28:46+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-01-12T23:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ed57b36c32e521162dbb97199e64a340d3bff827'/>
<id>ed57b36c32e521162dbb97199e64a340d3bff827</id>
<content type='text'>
Previously, the main interpreter was allocated on the heap during runtime initialization.  Here we instead embed it into _PyRuntimeState, which means it is statically allocated as part of the _PyRuntime global.  The same goes for the initial thread state (of each interpreter, including the main one).  Consequently there are fewer allocations during runtime/interpreter init, fewer possible failures, and better memory locality.

FYI, this also helps efforts to consolidate globals, which in turns helps work on subinterpreter isolation.

https://bugs.python.org/issue45953</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the main interpreter was allocated on the heap during runtime initialization.  Here we instead embed it into _PyRuntimeState, which means it is statically allocated as part of the _PyRuntime global.  The same goes for the initial thread state (of each interpreter, including the main one).  Consequently there are fewer allocations during runtime/interpreter init, fewer possible failures, and better memory locality.

FYI, this also helps efforts to consolidate globals, which in turns helps work on subinterpreter isolation.

https://bugs.python.org/issue45953</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40280: Allow to compile _testcapi as builtin module (GH-30559)</title>
<updated>2022-01-12T19:27:37+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-12T19:27:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e34c9367f8e0068ca4bcad9fb5c2c1024d02a77d'/>
<id>e34c9367f8e0068ca4bcad9fb5c2c1024d02a77d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40280: Add --with-emscripten-target to build for browser or node (GH-30552)</title>
<updated>2022-01-12T15:08:19+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-12T15:08:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=43839ba438368a50f22f718d4ce8ce607c17046c'/>
<id>43839ba438368a50f22f718d4ce8ce607c17046c</id>
<content type='text'>
Co-authored-by: Ethan Smith &lt;ethan@ethanhs.me&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Ethan Smith &lt;ethan@ethanhs.me&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46303: Fix fileutils.h compiler warnings (GH-30550)</title>
<updated>2022-01-11T23:35:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-01-11T23:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=08bc1bad11cad39f508bd662c9b28fcd9c995512'/>
<id>08bc1bad11cad39f508bd662c9b28fcd9c995512</id>
<content type='text'>
Add missing pycore_fileutils.h include in _tkinter.c and
_testconsole.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add missing pycore_fileutils.h include in _tkinter.c and
_testconsole.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46303: Move fileutils.h private functions to internal C API (GH-30484)</title>
<updated>2022-01-11T10:56:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-01-11T10:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ea1a54506b4ac38b712ba63ec884292025f16111'/>
<id>ea1a54506b4ac38b712ba63ec884292025f16111</id>
<content type='text'>
Move almost all private functions of Include/cpython/fileutils.h to
the internal C API Include/internal/pycore_fileutils.h.

Only keep _Py_fopen_obj() in Include/cpython/fileutils.h, since it's
used by _testcapi which must not use the internal C API.

Move EncodeLocaleEx() and DecodeLocaleEx() functions from _testcapi
to _testinternalcapi, since the C API moved to the internal C API.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move almost all private functions of Include/cpython/fileutils.h to
the internal C API Include/internal/pycore_fileutils.h.

Only keep _Py_fopen_obj() in Include/cpython/fileutils.h, since it's
used by _testcapi which must not use the internal C API.

Move EncodeLocaleEx() and DecodeLocaleEx() functions from _testcapi
to _testinternalcapi, since the C API moved to the internal C API.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37295: Use constant-time comb() and perm() for larger n depending on k (GH-30305)</title>
<updated>2022-01-09T13:32:25+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2022-01-09T13:32:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2d787971c65b005d0cce219399b9a8e2b70d4ef4'/>
<id>2d787971c65b005d0cce219399b9a8e2b70d4ef4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46297: Fix interpreter crash on startup with multiple PythonPaths set in registry (GH-30466)</title>
<updated>2022-01-07T22:26:00+00:00</updated>
<author>
<name>Daniel</name>
<email>daniel@tohka.us</email>
</author>
<published>2022-01-07T22:26:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c9dc1f491e8edb0bc433cde73190a3015d226891'/>
<id>c9dc1f491e8edb0bc433cde73190a3015d226891</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
