This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou
Date 2008-12-06.14:56:42
SpamBayes Score 0.010369085
Marked as misclassified No
Message-id <1228575403.73.0.337018750151.issue4564@psf.upfronthosting.co.za>
In-reply-to
Content
The following code says it all:

>>> class B(bytearray): pass
... 
>>> b = B.fromhex("0c0a")
>>> b
bytearray(b'\x0c\n')
>>> isinstance(b, B)
False
History
Date User Action Args
2008-12-06 14:56:43pitrousetrecipients: + pitrou
2008-12-06 14:56:43pitrousetmessageid: <1228575403.73.0.337018750151.issue4564@psf.upfronthosting.co.za>
2008-12-06 14:56:43pitroulinkissue4564 messages
2008-12-06 14:56:42pitroucreate