[issue32101] Add PYTHONDEVMODE=1 to enable the developer mode
STINNER Victor
report at bugs.python.org
Tue Nov 28 19:09:04 EST 2017
STINNER Victor <victor.stinner at gmail.com> added the comment:
While implementing a new PYTHONDEVMODE environment variable, I found that it would help to also add a new sys.flags.dev_mode flag. So I added it.
So for example, asyncio uses sys.flags.dev_mode rather than checking for 'dev' in sys._xoptions *and* check if the environment variable is set or not.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32101>
_______________________________________
More information about the Python-bugs-list
mailing list