Message118069
| Author |
llnik |
| Recipients |
docs@python, llnik |
| Date |
2010年10月06日.15:36:55 |
| SpamBayes Score |
9.898854e-07 |
| Marked as misclassified |
No |
| Message-id |
<1286379418.7.0.631387512608.issue10038@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|