[issue20047] bytearray partition bug

Serhiy Storchaka report at bugs.python.org
Sat Dec 21 21:00:49 CET 2013


Serhiy Storchaka added the comment:

Similar bug was in 3.2:

>>> ba = bytearray(range(8))
>>> ba[2:6]
bytearray(b'\x02\x03\x04\x05')
>>> ba[2:6] = 2
>>> ba
bytearray(b'\x00\x01\x00\x00\x06\x07')

Now it is fixed.

----------
nosy: +serhiy.storchaka
versions: +Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20047>
_______________________________________


More information about the Python-bugs-list mailing list