[docs] [issue18958] Exception('No JSON object could be decoded') when parsing a valid JSON

Ezio Melotti report at bugs.python.org
Sun Oct 20 07:24:07 CEST 2013

Ezio Melotti added the comment:

I opened a new issue about improving the error message: #19307.
After further discussion on IRC, we think that both #19307 and this issue should only be applied on 3.4 (the attached patch produces an even more misleading error that would require backporting #19307).

dependencies: +Improve TypeError message in json.loads()
versions: +Python 3.4 -Python 2.7
Added file: http://bugs.python.org/file32239/issue18958-3.diff

Python tracker <report at bugs.python.org>

More information about the docs mailing list