<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/import.c, branch enum-lost-fixes</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.10] Fix typos in the Python directory (GH-28767) (GH-28799)</title>
<updated>2021-10-07T15:30:08+00:00</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2021-10-07T15:30:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ccd82a080056f21da2041d4c5d0ac4421ad0c8a8'/>
<id>ccd82a080056f21da2041d4c5d0ac4421ad0c8a8</id>
<content type='text'>
(cherry picked from commit db693df3e112c5a61f2cbef63eedce3a36520ded)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit db693df3e112c5a61f2cbef63eedce3a36520ded)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44050: Extension modules can share state when they don't support sub-interpreters. (GH-27794) (GH-28738)</title>
<updated>2021-10-05T16:34:59+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-10-05T16:34:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d0d29655ffc43d426ad68542d8de8304f7f1346a'/>
<id>d0d29655ffc43d426ad68542d8de8304f7f1346a</id>
<content type='text'>
Automerge-Triggered-By: GH:encukou
(cherry picked from commit b9bb74871b27d9226df2dd3fce9d42bda8b43c2b)

Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: GH:encukou
(cherry picked from commit b9bb74871b27d9226df2dd3fce9d42bda8b43c2b)

Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-45307: Restore private C API function _PyImport_FindExtensionObject() (GH-28594)</title>
<updated>2021-09-28T21:12:50+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2021-09-28T21:12:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ec4e2ec241acb3bf4e04a351c06c0b05a1e4b7d2'/>
<id>ec4e2ec241acb3bf4e04a351c06c0b05a1e4b7d2</id>
<content type='text'>
py2exe and PyOxidizer rely on this API.
It will be removed in Python 3.11.

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
py2exe and PyOxidizer rely on this API.
It will be removed in Python 3.11.

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44441: _PyImport_Fini2() resets PyImport_Inittab (GH-26874) (GH-26877)</title>
<updated>2021-06-23T15:47:38+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-06-23T15:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ece3841d3ddf38875b997eb919488cbb911a66e2'/>
<id>ece3841d3ddf38875b997eb919488cbb911a66e2</id>
<content type='text'>
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699ca05bed5cfd10e847d8580840812b476cd)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Py_RunMain() now resets PyImport_Inittab to its initial value at
exit. It must be possible to call PyImport_AppendInittab() or
PyImport_ExtendInittab() at each Python initialization.

(cherry picked from commit 489699ca05bed5cfd10e847d8580840812b476cd)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Remove Yield macro from pycore_ast.h (GH-25243)</title>
<updated>2021-04-07T11:01:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-07T11:01:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d36d6a9c1808e87628ebaa855d4bec80130189f4'/>
<id>d36d6a9c1808e87628ebaa855d4bec80130189f4</id>
<content type='text'>
* pycore_ast.h no longer defines the Yield macro.
* Fix a compiler warning on Windows: "warning C4005: 'Yield': macro
  redefinition".
* Python-ast.c now defines directly functions with their real
  _Py_xxx() name, rather than xxx().
* Remove "#undef Yield" in C files including pycore_ast.h.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* pycore_ast.h no longer defines the Yield macro.
* Fix a compiler warning on Windows: "warning C4005: 'Yield': macro
  redefinition".
* Python-ast.c now defines directly functions with their real
  _Py_xxx() name, rather than xxx().
* Remove "#undef Yield" in C files including pycore_ast.h.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Remove ast.h, asdl.h, Python-ast.h headers (GH-24933)</title>
<updated>2021-03-23T19:47:40+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-23T19:47:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=94faa0724f8cbae6867c491c8e465e35f4fdbfbb'/>
<id>94faa0724f8cbae6867c491c8e465e35f4fdbfbb</id>
<content type='text'>
These functions were undocumented and excluded from the limited C
API.

Most names defined by these header files were not prefixed by "Py"
and so could create names conflicts. For example, Python-ast.h
defined a "Yield" macro which was conflict with the "Yield" name used
by the Windows &lt;winbase.h&gt; header.

Use the Python ast module instead.

* Move Include/asdl.h to Include/internal/pycore_asdl.h.
* Move Include/Python-ast.h to Include/internal/pycore_ast.h.
* Remove ast.h header file.
* pycore_symtable.h no longer includes Python-ast.h.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions were undocumented and excluded from the limited C
API.

Most names defined by these header files were not prefixed by "Py"
and so could create names conflicts. For example, Python-ast.h
defined a "Yield" macro which was conflict with the "Yield" name used
by the Windows &lt;winbase.h&gt; header.

Use the Python ast module instead.

* Move Include/asdl.h to Include/internal/pycore_asdl.h.
* Move Include/Python-ast.h to Include/internal/pycore_ast.h.
* Remove ast.h header file.
* pycore_symtable.h no longer includes Python-ast.h.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43551: Fix PyImport_Import() for subinterpreters (GH-24929)</title>
<updated>2021-03-22T09:47:10+00:00</updated>
<author>
<name>junyixie</name>
<email>xiejunyi.arch@bytedance.com</email>
</author>
<published>2021-03-22T09:47:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=88d9983b561cd59e5f186d98227de0c1a022b498'/>
<id>88d9983b561cd59e5f186d98227de0c1a022b498</id>
<content type='text'>
Avoid static variables.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid static variables.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43517: Fix false positive in detection of circular imports (#24895)</title>
<updated>2021-03-20T19:07:44+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>antoine@python.org</email>
</author>
<published>2021-03-20T19:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2fd16ef406bba239b1334057fb499496a84b3aa2'/>
<id>2fd16ef406bba239b1334057fb499496a84b3aa2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43268: Pass interp rather than tstate to internal functions (GH-24580)</title>
<updated>2021-02-19T14:10:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-02-19T14:10:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bcb094b41f7fe4dd1686c50891d85632fcf0d481'/>
<id>bcb094b41f7fe4dd1686c50891d85632fcf0d481</id>
<content type='text'>
Pass the current interpreter (interp) rather than the current Python
thread state (tstate) to internal functions which only use the
interpreter.

Modified functions:

* _PyXXX_Fini() and _PyXXX_ClearFreeList() functions
* _PyEval_SignalAsyncExc(), make_pending_calls()
* _PySys_GetObject(), sys_set_object(), sys_set_object_id(), sys_set_object_str()
* should_audit(), set_flags_from_config(), make_flags()
* _PyAtExit_Call()
* init_stdio_encoding()
* etc.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pass the current interpreter (interp) rather than the current Python
thread state (tstate) to internal functions which only use the
interpreter.

Modified functions:

* _PyXXX_Fini() and _PyXXX_ClearFreeList() functions
* _PyEval_SignalAsyncExc(), make_pending_calls()
* _PySys_GetObject(), sys_set_object(), sys_set_object_id(), sys_set_object_str()
* should_audit(), set_flags_from_config(), make_flags()
* _PyAtExit_Call()
* init_stdio_encoding()
* etc.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43268: _Py_IsMainInterpreter() now expects interp (GH-24577)</title>
<updated>2021-02-19T12:33:31+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-02-19T12:33:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=101bf69ff18a946fed7c274f088878aaf85174cc'/>
<id>101bf69ff18a946fed7c274f088878aaf85174cc</id>
<content type='text'>
The _Py_IsMainInterpreter() function now expects interp rather than
tstate.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The _Py_IsMainInterpreter() function now expects interp rather than
tstate.</pre>
</div>
</content>
</entry>
</feed>
