moijes12 <moije...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11681>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to