On Mon, Sep 14, 2020 at 10:52 AM David Mertz <me...@gnosis.cx> 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 <songofaca...@gmail.com> _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/OGXJMTTAHYVPOY7HW7PSJK56KJ3HSGPD/ Code of Conduct: http://python.org/psf/codeofconduct/