[docs] [issue10038] Returntype of json.loads() on strings
Nik Tautenhahn
report at bugs.python.org
Thu Oct 7 11:23:29 CEST 2010
Nik Tautenhahn <nik at livinglogic.de> added the comment:
Yep, the solution should not be "maybe it's str, maybe it's unicode" - I mean, if the decoder gives you a str if there are no fancy characters and unicode if it contains some, this might lead to some confusion... And yes, in my opinion, this is a bug, too.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10038>
_______________________________________
More information about the docs
mailing list