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 <greg.ew...@canterbury.ac.nz> 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 -- 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/J2ZXDXGEY2YHG2AIJLADYHJQLQGMP6UX/ Code of Conduct: http://python.org/psf/codeofconduct/