[issue5067] Error msg from using wrong quotes in JSON is unhelpful

Bob Ippolito report at bugs.python.org
Sun Mar 1 19:04:01 CET 2009


Bob Ippolito <bob at redivi.com> added the comment:

Er, sorry, missed "(from JSONable combinations of types)". It's early.

Anyway, I can change the error message, but I will not make it special-
case single quotes for its own error message. I will have to think about 
what the message could say instead. Note that the same sort of person who 
throws random input at parsers might even expect {test: 'test'} to work 
since that is valid JavaScript but not valid JSON.

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


More information about the Python-bugs-list mailing list