Ezio Melotti <ezio.melo...@gmail.com> added the comment:

This happens because bytearray_ass_subscript() (Objects/bytearrayobject.c:588) 
calls PyByteArray_FromObject() (:641) that in turn calls bytearray_init() 
(:746), so the results are similar to the ones returned by calling 
bytearray(...) directly.

----------
nosy: +ezio.melotti

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8401>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to