summaryrefslogtreecommitdiffstats
path: root/Include/cpython/warnings.h
Commit message (Collapse)AuthorAgeFilesLines
* gh-87347: Add parenthesis around macro arguments (#93915)Victor Stinner2022-06-201-1/+1
| | | Add unit test on Py_MEMBER_SIZE() and some other macros.
* bpo-35134: Split warnings.h and weakrefobject.h (GH-29042)Victor Stinner2021-10-181-0/+20
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.