<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/cpython/pythonrun.h, 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>bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI list (GH-25442)</title>
<updated>2021-04-23T12:23:38+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2021-04-23T12:23:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=91b69b77cf5f78de6d35dea23098df34b6fd9e53'/>
<id>91b69b77cf5f78de6d35dea23098df34b6fd9e53</id>
<content type='text'>
The inclusion of PyOS_ReadlineFunctionPointer in python3dll.c was a mistake.

According to PEP 384:
&gt; functions expecting FILE* are not part of the ABI, to avoid depending
&gt; on a specific version of the Microsoft C runtime DLL on Windows.

https://bugs.python.org/issue43868</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The inclusion of PyOS_ReadlineFunctionPointer in python3dll.c was a mistake.

According to PEP 384:
&gt; functions expecting FILE* are not part of the ABI, to avoid depending
&gt; on a specific version of the Microsoft C runtime DLL on Windows.

https://bugs.python.org/issue43868</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43244: Remove symtable.h header file (GH-24910)</title>
<updated>2021-03-19T11:41:49+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-19T11:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=28ad12f8fe889a741661eb99daacebd9243cc1ba'/>
<id>28ad12f8fe889a741661eb99daacebd9243cc1ba</id>
<content type='text'>
Rename Include/symtable.h to to Include/internal/pycore_symtable.h,
don't export symbols anymore (replace PyAPI_FUNC and PyAPI_DATA with
extern) and rename functions:

* PyST_GetScope() to _PyST_GetScope()
* PySymtable_BuildObject() to _PySymtable_Build()
* PySymtable_Free() to _PySymtable_Free()

Remove PySymtable_Build(), Py_SymtableString() and
Py_SymtableStringObject() functions.

The Py_SymtableString() function was part the stable ABI by mistake
but it could not be used, since the symtable.h header file was
excluded from the limited C API.

The Python symtable module remains available and is unchanged.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename Include/symtable.h to to Include/internal/pycore_symtable.h,
don't export symbols anymore (replace PyAPI_FUNC and PyAPI_DATA with
extern) and rename functions:

* PyST_GetScope() to _PyST_GetScope()
* PySymtable_BuildObject() to _PySymtable_Build()
* PySymtable_Free() to _PySymtable_Free()

Remove PySymtable_Build(), Py_SymtableString() and
Py_SymtableStringObject() functions.

The Py_SymtableString() function was part the stable ABI by mistake
but it could not be used, since the symtable.h header file was
excluded from the limited C API.

The Python symtable module remains available and is unchanged.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32381: Add _PyRun_AnyFileObject() (GH-23723)</title>
<updated>2020-12-09T21:37:27+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-09T21:37:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a82f63f5af027a0eab0f0812d750b804368cbd25'/>
<id>a82f63f5af027a0eab0f0812d750b804368cbd25</id>
<content type='text'>
pymain_run_file() no longer encodes the filename: pass the filename
as an object to the new _PyRun_AnyFileObject() function.

Add new private functions:

* _PyRun_AnyFileObject()
* _PyRun_InteractiveLoopObject()
* _Py_FdIsInteractive()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pymain_run_file() no longer encodes the filename: pass the filename
as an object to the new _PyRun_AnyFileObject() function.

Add new private functions:

* _PyRun_AnyFileObject()
* _PyRun_InteractiveLoopObject()
* _Py_FdIsInteractive()</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)</title>
<updated>2020-12-08T23:32:54+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-08T23:32:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=550e4673be538d98b6ddf5550b3922539cf5c4b2'/>
<id>550e4673be538d98b6ddf5550b3922539cf5c4b2</id>
<content type='text'>
pymain_run_startup() now pass the filename as a Python object to
_PyRun_SimpleFileObject().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pymain_run_startup() now pass the filename as a Python object to
_PyRun_SimpleFileObject().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35134: Add Include/cpython/pythonrun.h file (GH-23701)</title>
<updated>2020-12-08T22:51:54+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-08T22:51:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fe6e5e7cfd68eeaa69fd1511f354a1b4d8d90990'/>
<id>fe6e5e7cfd68eeaa69fd1511f354a1b4d8d90990</id>
<content type='text'>
Py_CompileString() is now always declared as a function by
Include/pythonrun.h. It is overriden with a macro in
Include/cpython/pythonrun.h.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Py_CompileString() is now always declared as a function by
Include/pythonrun.h. It is overriden with a macro in
Include/cpython/pythonrun.h.</pre>
</div>
</content>
</entry>
</feed>
