[docs] [issue10976] json.loads() raises TypeError on bytes object

Serhiy Storchaka report at bugs.python.org
Thu Apr 26 18:21:35 CEST 2012


Serhiy Storchaka <storchaka at gmail.com> added the comment:

According to current implementation this is acceptable.

>>> json.loads('"\u0000"', strict=False)
'\x00'

----------

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


More information about the docs mailing list