https://github.com/python/cpython
Revision aad88d33d9db0a93e480f0234292b948890dfc2a authored by Victor Stinner on 18 October 2021, 23:31:57 UTC, committed by GitHub on 18 October 2021, 23:31:57 UTC
Split header files to move the non-limited API to Include/cpython/:

* Include/warnings.h => Include/cpython/warnings.h
* Include/weakrefobject.h => Include/cpython/weakrefobject.h

Exclude PyWeakref_GET_OBJECT() from the limited C API. It never
worked since the PyWeakReference structure is opaque in the limited C
API.

Move _PyWarnings_Init() and _PyErr_WarnUnawaitedCoroutine() to the
internal C API.
1 parent 4d03de3
History
Tip revision: aad88d33d9db0a93e480f0234292b948890dfc2a authored by Victor Stinner on 18 October 2021, 23:31:57 UTC
bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)
Tip revision: aad88d3
File Mode Size
README -rw-r--r-- 67 bytes
_freeze_module.c -rw-r--r-- 5.9 KB
_testembed.c -rw-r--r-- 49.9 KB
freeze_test_frozenmain.py -rw-r--r-- 1.2 KB
python.c -rw-r--r-- 266 bytes
test_frozenmain.h -rw-r--r-- 1.7 KB
test_frozenmain.py -rw-r--r-- 444 bytes

README

back to top