[docs] [issue19871] json module won't parse a float that starts with a decimal point

Antoine Pitrou report at bugs.python.org
Tue Dec 3 09:34:41 CET 2013


Antoine Pitrou added the comment:

I think it would be better to adhere to the JSON spec, which doesn't allow numbers to start with a decimal point:
http://json.org/

If we go this way, the documentation should at least be fixed; and, as you say, we could also add a unit test for it.

----------
assignee:  -> docs at python
components: +Documentation, Tests -Library (Lib)
nosy: +docs at python, pitrou
stage:  -> needs patch
versions:  -Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19871>
_______________________________________


More information about the docs mailing list