Author moijes12
Recipients docs@python, eric.araujo, ezio.melotti, georg.brandl, lemburg, moijes12, ncoghlan, r.david.murray
Date 2012-06-26.18:26:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340735182.61.0.174129672244.issue11681@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-06-26 18:26:23moijes12setrecipients: + moijes12, lemburg, georg.brandl, ncoghlan, ezio.melotti, eric.araujo, r.david.murray, docs@python
2012-06-26 18:26:22moijes12setmessageid: <1340735182.61.0.174129672244.issue11681@psf.upfronthosting.co.za>
2012-06-26 18:26:21moijes12linkissue11681 messages
2012-06-26 18:26:21moijes12create