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
cpython
internal
Python.h -rw-r--r-- 2.5 KB
README.rst -rw-r--r-- 344 bytes
abstract.h -rw-r--r-- 30.7 KB
bltinmodule.h -rw-r--r-- 264 bytes
boolobject.h -rw-r--r-- 1.2 KB
bytearrayobject.h -rw-r--r-- 1.4 KB
bytesobject.h -rw-r--r-- 2.6 KB
ceval.h -rw-r--r-- 6.1 KB
code.h -rw-r--r-- 317 bytes
codecs.h -rw-r--r-- 6.9 KB
compile.h -rw-r--r-- 520 bytes
complexobject.h -rw-r--r-- 1.8 KB
datetime.h -rw-r--r-- 9.4 KB
descrobject.h -rw-r--r-- 2.9 KB
dictobject.h -rw-r--r-- 3.8 KB
dynamic_annotations.h -rw-r--r-- 21.9 KB
enumobject.h -rw-r--r-- 253 bytes
errcode.h -rw-r--r-- 1.5 KB
exports.h -rw-r--r-- 1.1 KB
fileobject.h -rw-r--r-- 1.5 KB
fileutils.h -rw-r--r-- 507 bytes
floatobject.h -rw-r--r-- 1.5 KB
frameobject.h -rw-r--r-- 336 bytes
genericaliasobject.h -rw-r--r-- 334 bytes
import.h -rw-r--r-- 3.0 KB
intrcheck.h -rw-r--r-- 772 bytes
iterobject.h -rw-r--r-- 593 bytes
listobject.h -rw-r--r-- 1.7 KB
longobject.h -rw-r--r-- 8.4 KB
marshal.h -rw-r--r-- 804 bytes
memoryobject.h -rw-r--r-- 2.7 KB
methodobject.h -rw-r--r-- 4.1 KB
modsupport.h -rw-r--r-- 10.5 KB
moduleobject.h -rw-r--r-- 2.4 KB
object.h -rw-r--r-- 28.0 KB
objimpl.h -rw-r--r-- 8.2 KB
opcode.h -rw-r--r-- 6.6 KB
osdefs.h -rw-r--r-- 737 bytes
osmodule.h -rw-r--r-- 291 bytes
patchlevel.h -rw-r--r-- 1.3 KB
py_curses.h -rw-r--r-- 2.4 KB
pycapsule.h -rw-r--r-- 1.7 KB
pydtrace.d -rw-r--r-- 1008 bytes
pydtrace.h -rw-r--r-- 2.4 KB
pyerrors.h -rw-r--r-- 12.1 KB
pyexpat.h -rw-r--r-- 2.4 KB
pyframe.h -rw-r--r-- 466 bytes
pyhash.h -rw-r--r-- 4.1 KB
pylifecycle.h -rw-r--r-- 2.1 KB
pymacconfig.h -rw-r--r-- 2.9 KB
pymacro.h -rw-r--r-- 4.8 KB
pymath.h -rw-r--r-- 2.4 KB
pymem.h -rw-r--r-- 3.8 KB
pyport.h -rw-r--r-- 26.1 KB
pystate.h -rw-r--r-- 4.8 KB
pystrcmp.h -rw-r--r-- 436 bytes
pystrtod.h -rw-r--r-- 1.4 KB
pythonrun.h -rw-r--r-- 1.1 KB
pythread.h -rw-r--r-- 5.9 KB
rangeobject.h -rw-r--r-- 628 bytes
setobject.h -rw-r--r-- 3.3 KB
sliceobject.h -rw-r--r-- 2.5 KB
structmember.h -rw-r--r-- 2.0 KB
structseq.h -rw-r--r-- 1.4 KB
sysmodule.h -rw-r--r-- 1.3 KB
token.h -rw-r--r-- 2.6 KB
traceback.h -rw-r--r-- 583 bytes
tracemalloc.h -rw-r--r-- 1.1 KB
tupleobject.h -rw-r--r-- 1.6 KB
typeslots.h -rw-r--r-- 2.4 KB
unicodeobject.h -rw-r--r-- 35.3 KB
warnings.h -rw-r--r-- 1.1 KB
weakrefobject.h -rw-r--r-- 1.2 KB

README.rst

back to top