Victor Stinner
32f0c82717
bpo-45459: Use type names in the internal C API (GH-31669)
...
Replace "struct xxx" with "xxx" types in the internal C API.
2022-03-03 23:08:07 +01:00
Irit Katriel
3509b26c91
bpo-45292: [PEP 654] Update traceback display code to work with exception groups (GH-29207)
2021-11-05 09:39:18 +00:00
Christian Clauss
8e8f752217
Fix typos in the Include directory (GH-28745)
2021-10-06 11:32:38 -07:00
Victor Stinner
66f77caca3
bpo-42923: _Py_DumpExtensionModules() ignores stdlib ext (GH-24254)
2021-01-19 23:35:27 +01:00
Victor Stinner
314b8787e0
bpo-42923: Py_FatalError() avoids fprintf() (GH-24242)
...
* Replace buffered fprintf() with unbuffered _Py_write_noraise()
in Py_FatalError().
* _Py_DumpHexadecimal() now accepts uintptr_t.
2021-01-18 18:34:56 +01:00
Victor Stinner
7c59d7c986
bpo-40421: Add pyframe.h header file (GH-19755)
...
Add a new separated pyframe.h header file of the PyFrame public C
API: it is included by Python.h.
Add PyFrame_GetLineNumber() to the limited C API.
Replace "struct _frame" with "PyFrameObject" in header files.
PyFrameObject is now defined as struct _frame by pyframe.h which is
included early enough in Python.h.
2020-04-28 16:32:48 +02:00
Victor Stinner
e982d8b64f
bpo-38353: Fix compiler warning in internal headers (GH-16573)
...
Replace "_PyRuntimeState" with "struct pyruntimestate" to avoid
a warning on typedef re-definition.
2019-10-04 02:21:05 +02:00
Victor Stinner
61691d8336
bpo-38353: Cleanup includes in the internal C API (GH-16548)
...
Use forward declaration of types to avoid includes in the internal C
API. Add also comment to justify other includes.
2019-10-02 23:51:20 +02:00
Victor Stinner
df22c03b93
bpo-36829: PyErr_WriteUnraisable() normalizes exception (GH-13507)
...
PyErr_WriteUnraisable() now creates a traceback object if there is no
current traceback. Moreover, call PyErr_NormalizeException() and
PyException_SetTraceback() to normalize the exception value. Ignore
silently any error.
2019-05-23 01:00:58 +02:00
Victor Stinner
ed48866c55
bpo-35134: Split traceback.h header (GH-13430)
...
Add new Include/cpython/traceback.h and Include/internal/traceback.h
header files.
2019-05-20 00:14:57 +02:00