Message145345
| Author |
pitrou |
| Recipients |
antlong, barry, docs@python, eric.araujo, ezio.melotti, georg.brandl, hhas, pitrou, r.david.murray |
| Date |
2011年10月11日.13:51:37 |
| SpamBayes Score |
2.6343497e-07 |
| Marked as misclassified |
No |
| Message-id |
<1318340873.3277.4.camel@localhost.localdomain> |
| In-reply-to |
<1318340688.53.0.778980394001.issue10976@psf.upfronthosting.co.za> |
| Content |
> I'll just mention that the elimination of bytes handling is a bit
> unfortunate, since this idiom which works in Python 2 no longer works:
>
> fp = urlopen(url)
> json_data = json.load(fp)
What if the returned JSON uses a charset other than utf-8 ? |
|