Python Gotcha's?
Tim Wintle
tim.wintle at teamrubber.com
Thu Apr 5 08:41:05 EDT 2012
On Thu, 2012-04-05 at 12:00 +0000, Steven D'Aprano wrote:
> The reason this is a Gotcha rather than a bug is because the JSON
> standard specifies the behaviour (probably in order to be compatible with
> Javascript).
It's not to be compatible with javascript (you can use either in
javascript)
I believe the choice is to make the parser as simple as possible. Agreed
it's a gotcha, but json is almost always generated automatically.
Tim
More information about the Python-list
mailing list