[docs] [issue10038] Returntype of json.loads() on strings

Barry A. Warsaw report at bugs.python.org
Wed Oct 27 22:57:25 CEST 2010


Barry A. Warsaw <barry at python.org> added the comment:

I completely agree with Fred; this is a regression and a bug in Python 2.7 and should be fixed.  I have a doctest in Mailman 3 for example that cannot pass in both Python 2.6 and 2.7 (without IMO ugly hackery).  Not only that, but json is documented as converting JSON str to unicode, which it does fine in Python 2.6, 3.1 and 3.2.  Why should Python 2.7 be different (and broken)?

----------
nosy: +barry

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


More information about the docs mailing list