New submission from P.C. Shyamshankar <syk...@lucentbeing.com>:

The suggestion that non-ASCII based encodings should be wrapped in a 
codecs.getreader instance has a small bug, ie instead of 
codecs.getreader(fp)(encoding), it should be the other way around, 
codecs.getreader(encoding)(fp).

It's a very small bug, and I've got a very small patch for it.

It's my first bug report/patch, so please tell me if I've done 
something stupid :)

----------
assignee: georg.brandl
components: Documentation
files: json_patch.diff
keywords: patch
messages: 86355
nosy: georg.brandl, sykora
severity: normal
status: open
title: Very small bug in documentation of json.load()
versions: Python 3.1
Added file: http://bugs.python.org/file13747/json_patch.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5820>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to