homepage

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 ezio.melotti, musically_ut, pitrou, rhettinger, serhiy.storchaka
Date 2013年10月23日.13:56:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382536591.54.0.824152548476.issue19361@psf.upfronthosting.co.za>
In-reply-to
Content
Simplejson already have JSONDecodeError.
class JSONDecodeError(ValueError):
 """Subclass of ValueError with the following additional properties:
 msg: The unformatted error message
 doc: The JSON document being parsed
 pos: The start index of doc where parsing failed
 end: The end index of doc where parsing failed (may be None)
 lineno: The line corresponding to pos
 colno: The column corresponding to pos
 endlineno: The line corresponding to end (may be None)
 endcolno: The column corresponding to end (may be None)
 """
Adding it to the stdlib is only matter of time.
History
Date User Action Args
2013年10月23日 13:56:31serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, pitrou, ezio.melotti, musically_ut
2013年10月23日 13:56:31serhiy.storchakasetmessageid: <1382536591.54.0.824152548476.issue19361@psf.upfronthosting.co.za>
2013年10月23日 13:56:31serhiy.storchakalinkissue19361 messages
2013年10月23日 13:56:31serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /