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
Raw File
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
.editorconfig
root = true

[*.{py,c,cpp,h,rst,md,yml}]
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space

[*.{py,c,cpp,h}]
indent_size = 4

[*.yml]
indent_size = 2
back to top