<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pylifecycle.c, branch misc-acks-comment</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-38858: Small integer per interpreter (GH-17315)</title>
<updated>2019-12-17T12:02:18+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-12-17T12:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=630c8df5cf126594f8c1c4579c1888ca80a29d59'/>
<id>630c8df5cf126594f8c1c4579c1888ca80a29d59</id>
<content type='text'>
Each Python subinterpreter now has its own "small integer
singletons": numbers in [-5; 257] range.

It is no longer possible to change the number of small integers at
build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros:
macros should now be modified manually in pycore_pystate.h header
file.

For now, continue to share _PyLong_Zero and _PyLong_One singletons
between all subinterpreters.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Each Python subinterpreter now has its own "small integer
singletons": numbers in [-5; 257] range.

It is no longer possible to change the number of small integers at
build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros:
macros should now be modified manually in pycore_pystate.h header
file.

For now, continue to share _PyLong_Zero and _PyLong_One singletons
between all subinterpreters.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38858: Fix ref leak in pycore_interp_init() (GH-17512)</title>
<updated>2019-12-08T20:55:58+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-12-08T20:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=080ee5a88406fb68aaab741145cd5d2a7c5f2ad6'/>
<id>080ee5a88406fb68aaab741145cd5d2a7c5f2ad6</id>
<content type='text'>
bpo-38858, bpo-38997: _PySys_Create() returns a strong reference to
the sys module: Py_DECREF() is needed when we are done with the
module.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-38858, bpo-38997: _PySys_Create() returns a strong reference to
the sys module: Py_DECREF() is needed when we are done with the
module.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38858: Add pycore_interp_init() code to factorize code (GH-17483)</title>
<updated>2019-12-06T02:37:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-12-06T02:37:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d863ade0c7fa4826e8b71aa467809c83a711f019'/>
<id>d863ade0c7fa4826e8b71aa467809c83a711f019</id>
<content type='text'>
Add a new pycore_interp_init() function called by new_interpreter()
and pyinit_config().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new pycore_interp_init() function called by new_interpreter()
and pyinit_config().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38858: new_interpreter() reuses _PySys_Create() (GH-17481)</title>
<updated>2019-12-06T01:43:30+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-12-06T01:43:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=81fe5bd3d78f9bb955f8255404d99df27a31c36a'/>
<id>81fe5bd3d78f9bb955f8255404d99df27a31c36a</id>
<content type='text'>
new_interpreter() now calls _PySys_Create() to create a new sys
module isolated from the main interpreter. It now calls
_PySys_InitCore() and _PyImport_FixupBuiltin().

init_interp_main() now calls _PySys_InitMain().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
new_interpreter() now calls _PySys_Create() to create a new sys
module isolated from the main interpreter. It now calls
_PySys_InitCore() and _PyImport_FixupBuiltin().

init_interp_main() now calls _PySys_InitMain().</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused variable in Python/pylifecycle.c (GH-17475)</title>
<updated>2019-12-05T16:18:27+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-12-05T16:18:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4da44000843824d4231901c3cf28b604e79df456'/>
<id>4da44000843824d4231901c3cf28b604e79df456</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38962: Fix reference leak in the per-subinterpreter gc (GH-17457)</title>
<updated>2019-12-04T11:51:03+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-12-04T11:51:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ac0e1c2694bc199dbd073312145e3c09bee52cc4'/>
<id>ac0e1c2694bc199dbd073312145e3c09bee52cc4</id>
<content type='text'>
https://bugs.python.org/issue38962



Automerge-Triggered-By: @pablogsal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue38962



Automerge-Triggered-By: @pablogsal</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38962: Fix reference leak in new_interpreter() (GH-17453)</title>
<updated>2019-12-04T11:19:59+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-12-04T11:19:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b96c6b0723b889d3a0c1740bce7f579f33d246f2'/>
<id>b96c6b0723b889d3a0c1740bce7f579f33d246f2</id>
<content type='text'>
https://bugs.python.org/issue38962



Automerge-Triggered-By: @pablogsal</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue38962



Automerge-Triggered-By: @pablogsal</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38858: new_interpreter() uses pycore_init_import_warnings() (GH-17353)</title>
<updated>2019-11-22T20:54:33+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-22T20:54:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2ec1a1b307cc893adae4662a32e1d2e94b6908e3'/>
<id>2ec1a1b307cc893adae4662a32e1d2e94b6908e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38858: new_interpreter() reuses pycore_init_builtins() (GH-17351)</title>
<updated>2019-11-22T18:24:49+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-22T18:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2582d46fbcf7bdf86b9cf4016850b8d155267ac6'/>
<id>2582d46fbcf7bdf86b9cf4016850b8d155267ac6</id>
<content type='text'>
new_interpreter() now calls _PyBuiltin_Init() to create the builtins
module and calls _PyImport_FixupBuiltin(), rather than using
_PyImport_FindBuiltin(tstate, "builtins").

pycore_init_builtins() is now responsible to initialize
intepr-&gt;builtins_copy: inline _PyImport_Init() and remove this
function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
new_interpreter() now calls _PyBuiltin_Init() to create the builtins
module and calls _PyImport_FixupBuiltin(), rather than using
_PyImport_FindBuiltin(tstate, "builtins").

pycore_init_builtins() is now responsible to initialize
intepr-&gt;builtins_copy: inline _PyImport_Init() and remove this
function.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38858: Add init_interp_main() subfunction (GH-17347)</title>
<updated>2019-11-22T16:52:42+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2019-11-22T16:52:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b00513636c9891deba4cae50217e25e8faf6c6ac'/>
<id>b00513636c9891deba4cae50217e25e8faf6c6ac</id>
<content type='text'>
Fix new_interpreter() error handling: undo it all if status is an
exception.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix new_interpreter() error handling: undo it all if status is an
exception.</pre>
</div>
</content>
</entry>
</feed>
