SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72140 0 25 Python

bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)

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.
V
Victor Stinner committed
aad88d33d9db0a93e480f0234292b948890dfc2a
Parent: 4d03de3
Committed by GitHub <noreply@github.com> on 10/18/2021, 11:31:57 PM