Browse Source
[3.8] bpo-38070: Py_FatalError() logs runtime state (GH-16258)
[3.8] bpo-38070: Py_FatalError() logs runtime state (GH-16258)
* bpo-38070: _Py_DumpTraceback() writes <no Python frame> (GH-16244) When a Python thread has no frame, _Py_DumpTraceback() and _Py_DumpTracebackThreads() now write "<no Python frame>", rather than writing nothing. (cherry picked from commitpull/16260/head8fa3e1740b) * bpo-38070: Enhance _PyObject_Dump() (GH-16243) _PyObject_Dump() now dumps the object address for freed objects and objects with ob_type=NULL. (cherry picked from commitb39afb7876) * bpo-38070: Add _PyRuntimeState.preinitializing (GH-16245) Add _PyRuntimeState.preinitializing field: set to 1 while Py_PreInitialize() is running. _PyRuntimeState: rename also pre_initialized field to preinitialized. (cherry picked from commitd3b904144e) * bpo-38070: Py_FatalError() logs runtime state (GH-16246) (cherry picked from commit1ce16fb097)
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 104 additions and 49 deletions
-
11Include/internal/pycore_pystate.h
-
2Lib/test/test_capi.py
-
18Lib/test/test_faulthandler.py
-
13Objects/object.c
-
96Python/pylifecycle.c
-
13Python/traceback.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue