On Mon, Sep 14, 2020 at 10:52 AM David Mertz <[email protected]> wrote:
>
> Yes, that is a design flaw in the stdlib. There ought to be an opt-in switch 
> for accepting/producing those special values, not the current opt-out for 
> strictness... And the misnamed parameter is 'allow_nan' whereas it also 
> configures 'Infinity'.
>

In case of encoding, we deprecated and ignored it in json.loads since
Python 3.1, and removed in 3.9.
Users still can load/save JSON with legacy encodings with open() + dump/load.

-- 
Inada Naoki  <[email protected]>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/OGXJMTTAHYVPOY7HW7PSJK56KJ3HSGPD/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to