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 bob.ippolito
Recipients bob.ippolito, cvrebert, docs@python, ezio.melotti, pitrou, rhettinger
Date 2014-07-14.15:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405353523.71.0.526392638772.issue21514@psf.upfronthosting.co.za>
In-reply-to
Content
This patch looks reasonable to me as-is.

With regard to "Infinite and NaN number values are accepted and output;" there's an option for that (allow_nan=False in encoding, parse_constant=some_function_that_raises in decoding). Since an exception can't be raised in a lambda there's no simple one-liner to ensure compliant decode.
History
Date User Action Args
2014-07-14 15:58:43bob.ippolitosetrecipients: + bob.ippolito, rhettinger, pitrou, ezio.melotti, cvrebert, docs@python
2014-07-14 15:58:43bob.ippolitosetmessageid: <1405353523.71.0.526392638772.issue21514@psf.upfronthosting.co.za>
2014-07-14 15:58:43bob.ippolitolinkissue21514 messages
2014-07-14 15:58:43bob.ippolitocreate