This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Claudiu.Popa
Recipients Claudiu.Popa, daniel.urban, docs@python, ezio.melotti, georg.brandl, py.user, rhettinger
Date 2014-06-14.12:32:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402749128.42.0.325328136004.issue12617@psf.upfronthosting.co.za>
In-reply-to
Content
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)
>>>
History
Date User Action Args
2014-06-14 12:32:08Claudiu.Popasetrecipients: + Claudiu.Popa, georg.brandl, rhettinger, ezio.melotti, daniel.urban, docs@python, py.user
2014-06-14 12:32:08Claudiu.Popasetmessageid: <1402749128.42.0.325328136004.issue12617@psf.upfronthosting.co.za>
2014-06-14 12:32:08Claudiu.Popalinkissue12617 messages
2014-06-14 12:32:08Claudiu.Popacreate