[issue2790] sys.flags is missing bytes_warning

Ralf Schmitt report at bugs.python.org
Thu May 8 21:58:58 CEST 2008


Ralf Schmitt <schmir at gmail.com> added the comment:

sure, I even removed the whole source tree:
~/pydev/trunk/ ./python                                          
ralf at rat64 ok
Python 2.6a3+ (trunk, May  8 2008, 21:52:39) 
[GCC 4.2.3 (Debian 4.2.3-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> sys.flags
sys.flags(debug=0, py3k_warning=0, division_warning=0, division_new=0,
inspect=0, interactive=0, optimize=0, dont_write_bytecode=0,
no_user_site=0, no_site=0, ignore_environment=0, tabcheck=0, verbose=0,
unicode=0)

You can count the entries manually if you don't believe. The given count
is off by one.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2790>
__________________________________


More information about the Python-bugs-list mailing list