Skip to content

[3.8] bpo-38070: Py_FatalError() logs runtime state#16258

Merged
vstinner merged 4 commits into
python:3.8from
vstinner:visit_decref38
Sep 18, 2019
Merged

[3.8] bpo-38070: Py_FatalError() logs runtime state#16258
vstinner merged 4 commits into
python:3.8from
vstinner:visit_decref38

Conversation

@vstinner

@vstinner vstinner commented Sep 18, 2019

Copy link
Copy Markdown
Member

When a Python thread has no frame, _Py_DumpTraceback() and
_Py_DumpTracebackThreads() now write "<no Python frame>", rather than
writing nothing.

(cherry picked from commit 8fa3e17)
_PyObject_Dump() now dumps the object address for freed objects and
objects with ob_type=NULL.

(cherry picked from commit b39afb7)
Add _PyRuntimeState.preinitializing field: set to 1 while
Py_PreInitialize() is running.

_PyRuntimeState: rename also pre_initialized field to preinitialized.

(cherry picked from commit d3b9041)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants