STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue35711> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com