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

Serhiy Storchaka report at bugs.python.org
Wed Dec 4 22:09:27 CET 2013

Serhiy Storchaka added the comment:

There are too many cases where json and Python syntax differ. Final comma("[1, 2,]"), non-string keys ({1: 2}), tuples ("(1, 2)"), leading zeros ("0001"), hexadecimal integers ("0xaf"), escapes of astral characters('"\U0001d504"'), single quotes ("'spam'"), octal escape codes ("\015"), etc, etc...


Python tracker <report at bugs.python.org>

More information about the docs mailing list