<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/pylifecycle.c, branch master</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pylifecycle.c?h=master</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/pylifecycle.c?h=master'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2023-03-21T19:13:31Z</updated>
<entry>
<title>gh-98608: Fix Failure-handling in new_interpreter() (gh-102658)</title>
<updated>2023-03-21T19:13:31Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2023-03-21T19:13:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c6b354699c2967879b9c99fe247c4d97f0e31f9'/>
<id>urn:sha1:4c6b354699c2967879b9c99fe247c4d97f0e31f9</id>
<content type='text'>
The error-handling code in new_interpreter() has been broken for a while.  We hadn't noticed because those code mostly doesn't fail.  (I noticed while working on gh-101660.)  The problem is that we try to clear/delete the newly-created thread/interpreter using itself, which just failed.  The solution is to switch back to the calling thread state first.

(cherry picked from commit d1b883b52a99427d234c20e4a92ddfa6a1da8880)

Co-authored-by: Eric Snow &lt;ericsnowcurrently@gmail.com&gt;
https: //github.com/python/cpython/issues/98608</content>
</entry>
<entry>
<title>[3.11] gh-99337: Fix compile errors with gcc 12 on macOS (GH-99470) (#99638)</title>
<updated>2022-11-21T10:22:10Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-11-21T10:22:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aa067868ec20f7d9b9f4f36b4a9daebfa74efec5'/>
<id>urn:sha1:aa067868ec20f7d9b9f4f36b4a9daebfa74efec5</id>
<content type='text'>
gh-99337: Fix compile errors with gcc 12 on macOS (GH-99470)

Fix a number of compile errors with GCC-12 on macOS:

1. In pylifecycle.c the compile rejects _Pragma within a declaration
2. posixmodule.c was missing a number of ..._RUNTIME macros for non-clang on macOS
3. _ctypes assumed that __builtin_available is always present on macOS
(cherry picked from commit cdde29dde90947df9bac39c1d19479914fb3db09)

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;

Co-authored-by: Ronald Oussoren &lt;ronaldoussoren@mac.com&gt;</content>
</entry>
<entry>
<title>[3.11] gh-96853: Restore test coverage for Py_Initialize(Ex) (GH-98874)</title>
<updated>2022-10-30T23:15:12Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-10-30T23:15:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57dd11038f22379770d9f16e527f787fdea978fd'/>
<id>urn:sha1:57dd11038f22379770d9f16e527f787fdea978fd</id>
<content type='text'>
* As most of `test_embed` now uses `Py_InitializeFromConfig`, add
  a specific test case to cover `Py_Initialize` (and `Py_InitializeEx`)
* Rename `_testembed` init helper to clarify the API used
* Add a `PyConfig_Clear` call in `Py_InitializeEx` to make
  the code more obviously correct (it already didn't leak as
  none of the dynamically allocated config fields were being
  populated, but it's clearer if the wrappers follow the
  documented API usage guidelines)
(cherry picked from commit 05e48865be69e1e5824f6915b588ff054717bb42)

Co-authored-by: Nick Coghlan &lt;ncoghlan@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)</title>
<updated>2022-05-28T00:56:30Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-05-28T00:56:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36374251aa39c0a89be277fb76439bacc709f8b7'/>
<id>urn:sha1:36374251aa39c0a89be277fb76439bacc709f8b7</id>
<content type='text'>
(cherry picked from commit caa279d6fd5f151e57f891cd4f6ba51b532501c6)

This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL.  However, it has since proven unnecessary to keep the experiment in the repo.  (It can be done as a branch in a fork like normal.)  So here we are removing:

* the configure option
* the macro
* the code enabled by the macro

Automerge-Triggered-By: GH:ericsnowcurrently</content>
</entry>
<entry>
<title>bpo-46864: Suppress even more ob_shash deprecation warnings (GH-32176)</title>
<updated>2022-03-30T06:35:15Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-03-30T06:35:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f'/>
<id>urn:sha1:d8f530fe329c6bd9ad6e1a9db9aa32b465c2d67f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-45786: Remove _PyFrame_Fini() and _PyFrame_DebugMallocStats() (GH-31874)</title>
<updated>2022-03-18T10:16:55Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-03-18T10:16:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2217462bda1865a047d358306088682ee6a091ed'/>
<id>urn:sha1:2217462bda1865a047d358306088682ee6a091ed</id>
<content type='text'>
Remove private empty _PyFrame_Fini() and _PyFrame_DebugMallocStats()
functions.</content>
</entry>
<entry>
<title>bpo-46841: Use inline caching for calls (GH-31709)</title>
<updated>2022-03-07T19:45:00Z</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@microsoft.com</email>
</author>
<published>2022-03-07T19:45:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f193631387bfee99a812e39b05d5b7e6384b57f5'/>
<id>urn:sha1:f193631387bfee99a812e39b05d5b7e6384b57f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. (gh-31345)</title>
<updated>2022-02-28T22:15:48Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2022-02-28T22:15:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=08deed1af56bec8668c6cb4d5cfd89e393e1fe5e'/>
<id>urn:sha1:08deed1af56bec8668c6cb4d5cfd89e393e1fe5e</id>
<content type='text'>
https://bugs.python.org/issue46753</content>
</entry>
<entry>
<title>Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596)</title>
<updated>2022-02-26T16:35:03Z</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2022-02-26T16:35:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b'/>
<id>urn:sha1:0d9b565e62a5fc8c3e9b8c64cce764fe084ccb2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-45316: Move _PyArg_Fini() to internal C API (GH-31580)</title>
<updated>2022-02-25T15:19:30Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-02-25T15:19:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f780d9690f1a009a56ac0c653ec9608e6b2aeff4'/>
<id>urn:sha1:f780d9690f1a009a56ac0c653ec9608e6b2aeff4</id>
<content type='text'>
Move the private unexported _PyArg_Fini() function to the internal C
API: to the pycore_pylifecycle.h header file.</content>
</entry>
</feed>
