Message118069
Hi,
before 2.7, an
import json
json.loads('"abc"')
yielded u"abc".
in 2.7 I get
"abc" (a byte string).
I would have expected an entry in "news" or "What's new in 2.7" why this change happened. In addition, all examples at http://docs.python.org/library/json are wrong for Python 2.7 if json.loads is involved.
Any insight on this?
best regards,
Nik |
|
Date |
User |
Action |
Args |
2010-10-06 15:36:58 | llnik | set | recipients:
+ llnik, docs@python |
2010-10-06 15:36:58 | llnik | set | messageid: <1286379418.7.0.631387512608.issue10038@psf.upfronthosting.co.za> |
2010-10-06 15:36:56 | llnik | link | issue10038 messages |
2010-10-06 15:36:55 | llnik | create | |
|