[issue35711] Print information about an unexpectedly pending error before crashing

STINNER Victor report at bugs.python.org
Fri Jan 11 05:42:12 EST 2019


STINNER Victor <vstinner at redhat.com> added the comment:

I'm a supporter to add *more* checks to the debug build but also provide a Python runtime compiled in debug mode which would be ABI compatible (no need to rebuild C extensions).

See my large project:

   https://pythoncapi.readthedocs.io/

Especially:

   https://pythoncapi.readthedocs.io/runtimes.html#debug-build

It would avoid any overhead at runtime for the regular runtime (compiled in release mode).

Only we would have such "debug runtime" available, I even plan to remove runtime checks from the release build :-)

https://pythoncapi.readthedocs.io/optimization_ideas.html#remove-debug-checks

----------

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


More information about the Python-bugs-list mailing list