[issue20361] -W command line options and PYTHONWARNINGS environmental variable should not override -b / -bb command line options

Antoine Pitrou report at bugs.python.org
Tue Apr 29 00:59:58 CEST 2014


Antoine Pitrou added the comment:

The patch is a bit problematic, because Py_BytesWarningFlag may also be set by e.g. an application embedding Python, but then Python's main.c won't be executed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20361>
_______________________________________


More information about the Python-bugs-list mailing list