17.06.20 08:29, Steven D'Aprano пише:
What exactly is getting in the way here? Standards do change. One standard (JSON) is not capable of representing all values from another standard (IEEE-754). Removing NANs and INFs would break floating point software everywhere, and a lot of hardware too. Adding support for them to JSON would be an enhancement, not a breakage. In my ignorance, that seems like a no-brainer.
Adding NANs and INFs to JSON will break virtually every software which reads JSON because many (most?) of existing standard-conforming implementations do not support them.
_______________________________________________ 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/M3QWSUY4KQJY3ZKSPKKHY2HBOMF4UDUH/ Code of Conduct: http://python.org/psf/codeofconduct/