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@python components: +Documentation, Tests -Library (Lib) nosy: +docs@python, pitrou stage: -> needs patch versions: -Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19871> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com