[docs] [issue14674] Link to & explain deviations from RFC 4627 in json module docs

Petri Lehtinen report at bugs.python.org
Thu Aug 23 12:58:03 CEST 2012

Petri Lehtinen added the comment:

Using the word "scalar" sounds wrong to me. Are strings really considered scalars in Python? At least RFC 4627 doesn't talk about scalars.

+Since the RFC permits RFC-compliant parsers to accept input texts that are not
+RFC-compliant, this module's deserializer is technically RFC-compliant under
+default settings.

This might scare users. Maybe it should note that there are parameters that can be used to turn off the most "harmful" extra features (namely the Inf and NaN support).

Otherwise, the additions look very good and important.

nosy: +petri.lehtinen

Python tracker <report at bugs.python.org>

More information about the docs mailing list