[docs] [issue10976] json.loads() raises TypeError on bytes object
Antoine Pitrou
report at bugs.python.org
Fri Apr 27 16:06:13 CEST 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> According to current implementation this is acceptable.
Then perhaps auto-detection can be restricted to strict mode? Non-strict mode would always use utf-8.
Or we can just skip auto-detection altogether (I don't think many people produce utf-16 or utf-32 JSON; that would be a waste of bandwidth for no obvious benefit).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10976>
_______________________________________
More information about the docs
mailing list