[issue36829] CLI option to make PyErr_WriteUnraisable abortthe current process

Thomas Grainger report at bugs.python.org
Tue May 7 11:30:27 EDT 2019


Thomas Grainger <tagrain at gmail.com> added the comment:

> this option should be used exclusively for debugging user extension modules.

I have a very large codebase that fires the odd ResourceWarning, and after fixing them all I'd like to ensure that they do not reoccur. When using `-W error` it still won't fail CI. So I would use this -X option for more than debugging user extension modules

----------

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


More information about the Python-bugs-list mailing list