<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cpython.git/Include/cpython/pythonrun.h, branch v3.14.0</title>
<subtitle>https://github.com/python/cpython.git</subtitle>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/'/>
<entry>
<title>gh-106320: Remove private pythonrun API (#108599)</title>
<updated>2023-08-29T02:18:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2023-08-29T02:18:52Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=15c5a50797020944e9ccb72bf3e28c3cca2e35c3'/>
<id>15c5a50797020944e9ccb72bf3e28c3cca2e35c3</id>
<content type='text'>
Remove these private functions from the public C API:

* _PyRun_AnyFileObject()
* _PyRun_InteractiveLoopObject()
* _PyRun_SimpleFileObject()
* _Py_SourceAsString()

Move them to the internal C API: add a new pycore_pythonrun.h header
file. No longer export these functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove these private functions from the public C API:

* _PyRun_AnyFileObject()
* _PyRun_InteractiveLoopObject()
* _PyRun_SimpleFileObject()
* _Py_SourceAsString()

Move them to the internal C API: add a new pycore_pythonrun.h header
file. No longer export these functions.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-106320: Remove _PyOS_ReadlineTState API (#107034)</title>
<updated>2023-07-22T14:45:56Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2023-07-22T14:45:56Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=d228825e08883fc13f35eb91435f95d32524931c'/>
<id>d228825e08883fc13f35eb91435f95d32524931c</id>
<content type='text'>
Remove _PyOS_ReadlineTState variable from the public C API.
The symbol is still exported for the readline shared extension.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove _PyOS_ReadlineTState variable from the public C API.
The symbol is still exported for the readline shared extension.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-87347: Add parenthesis around macro arguments (#93915)</title>
<updated>2022-06-20T14:04:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-06-20T14:04:52Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.git/commit/?id=7ad6f74fcf9db1ccfeaf0986064870d8d3887300'/>
<id>7ad6f74fcf9db1ccfeaf0986064870d8d3887300</id>
<content type='text'>
Add unit test on Py_MEMBER_SIZE() and some other macros.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add unit test on Py_MEMBER_SIZE() and some other macros.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI list (GH-25442)</title>
<updated>2021-04-23T12:23:38Z</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2021-04-23T12:23:38Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.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:49Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-03-19T11:41:49Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.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:27Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-09T21:37:27Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.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:54Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-08T23:32:54Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.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:54Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-08T22:51:54Z</published>
<link rel='alternate' type='text/html' href='http://service.techsat.com/oss-git/cpython.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>
