Zearin added the comment:

Note: Javascript has something analogous to Python’s ``==`` and ``is``.  

In JS: 

> 0 == false
true
> 0 === false
false
> 1 == true
true
> 1 === true
false

Perhaps this discrepancy could be fixed in the JSON processing?

----------
nosy: +zearin

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4945>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to