Apart from not making it clear that allow_nan=False is about RFC compliance whether than for some other purpose, it also doesn't mean what it says. The argument really means "allow_nan_and_infs."
On Wed, Jun 17, 2020, 8:18 AM Greg Ewing <[email protected]> wrote: > On 17/06/20 5:42 pm, David Mertz wrote: > > I think the argument 'allow_nan' is poorly spelled. Spelling it 'strict' > > would have been much better. Maybe 'conformant'. > > It should be called 'json_me_harder'. >
_______________________________________________ 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/J2ZXDXGEY2YHG2AIJLADYHJQLQGMP6UX/ Code of Conduct: http://python.org/psf/codeofconduct/
