Message223038
| 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. |
|