[issue16722] __index__() overrides __bytes__() when bytes() is called

Roundup Robot report at bugs.python.org
Wed Dec 19 22:29:10 CET 2012


Roundup Robot added the comment:

New changeset c744b6f8a09a by Benjamin Peterson in branch '3.3':
try to call __bytes__ before __index__ (closes #16722)
http://hg.python.org/cpython/rev/c744b6f8a09a

New changeset 7c717d423160 by Benjamin Peterson in branch 'default':
merge 3.3 (#16722)
http://hg.python.org/cpython/rev/7c717d423160

----------
nosy: +python-dev
resolution:  -> fixed
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list