mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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.
This commit is contained in:
parent
4d03de3329
commit
aad88d33d9
10 changed files with 100 additions and 77 deletions
|
|
@ -160,6 +160,8 @@
|
|||
<ClInclude Include="..\Include\cpython\traceback.h" />
|
||||
<ClInclude Include="..\Include\cpython\tupleobject.h" />
|
||||
<ClInclude Include="..\Include\cpython\unicodeobject.h" />
|
||||
<ClInclude Include="..\Include\cpython\warnings.h" />
|
||||
<ClInclude Include="..\Include\cpython\weakrefobject.h" />
|
||||
<ClInclude Include="..\Include\datetime.h" />
|
||||
<ClInclude Include="..\Include\descrobject.h" />
|
||||
<ClInclude Include="..\Include\dictobject.h" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue