[docs] [issue10038] Returntype of json.loads() on strings
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>
More information about the docs