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 hynek
Recipients Jakob.Simon-Gaarde, docs@python, eric.araujo, ezio.melotti, georg.brandl, hynek, serhiy.storchaka
Date 2012年04月29日.11:25:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335698705.15.0.779994702943.issue14692@psf.upfronthosting.co.za>
In-reply-to
Content
Hi Jakob,
parse_constant has been changed as of d95e5add3ca4 to be called only on "-Infinity, Infinity, NaN":
 ``parse_constant``, if specified, will be called with one of the
 following strings: -Infinity, Infinity, NaN.
 This can be used to raise an exception if invalid JSON numbers
 are encountered.
And indeed, if you change your example to Infinity, it gets called.
That said, neither the 2.7 nor the dev docs reflect that. So it seems like a documentation bug to me.
History
Date User Action Args
2012年04月29日 11:25:05hyneksetrecipients: + hynek, georg.brandl, ezio.melotti, eric.araujo, docs@python, serhiy.storchaka, Jakob.Simon-Gaarde
2012年04月29日 11:25:05hyneksetmessageid: <1335698705.15.0.779994702943.issue14692@psf.upfronthosting.co.za>
2012年04月29日 11:25:04hyneklinkissue14692 messages
2012年04月29日 11:25:04hynekcreate

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