[issue46368] faulthandler: add the ability to dump all interpreters, not only the current interpreter

STINNER Victor report at bugs.python.org
Thu Jan 13 15:30:27 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

Attached patch is an incomplete quick & dirty implementation to log all interpreters in _Py_DumpTracebackThreads().

A better implementation should leave the current behavior unmodified, add a new C function, and add all_interpreters=False parameter to the following faulthandler functions:

* dump_traceback()
* enable()
* register()

----------
keywords: +patch
Added file: https://bugs.python.org/file50561/faulthandler.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46368>
_______________________________________


More information about the Python-bugs-list mailing list