Message220550
This was fixed in the latest versions.
>>> b = bytearray(b'457')
>>> b[:1] = 4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can assign only bytes, buffers, or iterables of ints in range(0, 256)
>>> |
|
Date |
User |
Action |
Args |
2014-06-14 12:32:08 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, georg.brandl, rhettinger, ezio.melotti, daniel.urban, docs@python, py.user |
2014-06-14 12:32:08 | Claudiu.Popa | set | messageid: <1402749128.42.0.325328136004.issue12617@psf.upfronthosting.co.za> |
2014-06-14 12:32:08 | Claudiu.Popa | link | issue12617 messages |
2014-06-14 12:32:08 | Claudiu.Popa | create | |
|