[issue7625] bytearray needs more tests for "b.some_method()[0] is not b"

Florent Xicluna report at bugs.python.org
Sun Jan 3 21:28:47 CET 2010


Florent Xicluna <laxyf at yahoo.fr> added the comment:

And each test comes with a new bug :)

>>> x = bytearray('abc')
>>> x.partition('.')[0] is x
True
>>> x.rpartition('.')[2] is x
True

----------
priority: low -> normal

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


More information about the Python-bugs-list mailing list