[issue32230] -X dev doesn't set sys.warnoptions
Nick Coghlan
report at bugs.python.org
Wed Dec 6 05:54:44 EST 2017
Nick Coghlan <ncoghlan at gmail.com> added the comment:
In relation to the utility of sys.warnoptions: it also lets other modules (like the unittest module) inspect the warnings that have been specified on the command line.
If it wasn't for that use case, I wouldn't be concerned about the fact that `-X dev` doesn't currently set it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32230>
_______________________________________
More information about the Python-bugs-list
mailing list