[issue8401] Strange behavior of bytearray slice assignment

Martin v. Löwis report at bugs.python.org
Fri Apr 16 19:54:26 CEST 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

-1 on assigning strings to slices of bytearrays. As Ezio mentions, this operation conceptually requires an encoding, and no encoding is readily available in the slice assignment.

-1 on special-casing empty strings.

----------

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


More information about the Python-bugs-list mailing list