[docs] [issue11681] -b option undocumented

moijes12 report at bugs.python.org
Tue Jun 26 20:26:23 CEST 2012


moijes12 <moijes12 at gmail.com> added the comment:

Hi Marc

I tried reproducing this for bytearray using Python 2.7.2 but I can't see a warning.

devel at moses:~$ python --version
Python 2.7.2+
devel at moses:~$ cat test_py.py 
k = range(10)
kb = bytearray(k)
print kb
kb = bytearray("hi")
print kb
devel at moses:~$ python -b test_py.py 
 
hi
devel at moses:~$ python -bb test_py.py 
 
hi

Please correct me if I'm wrong anywhere here. I'd like to work on this.

----------
nosy: +moijes12

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


More information about the docs mailing list