June 26, 2012
6:26 p.m.
moijes12 <moijes12@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@moses:~$ python --version Python 2.7.2+ devel@moses:~$ cat test_py.py k = range(10) kb = bytearray(k) print kb kb = bytearray("hi") print kb devel@moses:~$ python -b test_py.py hi devel@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@bugs.python.org> <http://bugs.python.org/issue11681> _______________________________________