[docs] [issue17309] __bytes__ doesn't work in subclass of int and str

Benjamin Peterson report at bugs.python.org
Sat Mar 2 19:42:21 CET 2013


Benjamin Peterson added the comment:

This has been fixed recently:

 $ ./python bytes.py 
b'\x00'
b'hello'

----------
nosy: +benjamin.peterson
resolution:  -> out of date
status: open -> closed

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


More information about the docs mailing list