[issue21514] update json module docs in light of RFC 7159 & ECMA-404
Bob Ippolito
report at bugs.python.org
Mon Jul 14 17:58:43 CEST 2014
Bob Ippolito added the comment:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21514>
_______________________________________
More information about the Python-bugs-list
mailing list