This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients bob.ippolito, cvrebert, ezio.melotti, musically_ut, pitrou, rhettinger, serhiy.storchaka
Date 2014-11-21.21:17:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
While we here may be change error messages?

The only error which contains end position is "Extra data". And it doesn't look clean to me why end position should be mentioned at all (it is always len(data) here). I suggest to drop it, this will make error message cleaner and JSONDecodeError simpler.

May be mention line and column in error message only if JSON data is multiline? Most machine generated data has one line only. Instead of "Expecting ',' delimiter: line 1 column 123 (char 124)" I suggest "Expecting ',' delimiter at position 124". Same as in re.error.
Date User Action Args
2014-11-21 21:17:59serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, bob.ippolito, pitrou, ezio.melotti, cvrebert, musically_ut
2014-11-21 21:17:59serhiy.storchakasetmessageid: <>
2014-11-21 21:17:59serhiy.storchakalinkissue19361 messages
2014-11-21 21:17:58serhiy.storchakacreate