[issue4945] json checks True/False by identity, not boolean value

Ezio Melotti report at bugs.python.org
Mon Nov 26 22:15:06 CET 2012


Ezio Melotti added the comment:

I'm not sure the documentation should be changed.  While boolean values are accepted, user should prefer True/False, so the fact that you can pass other things shouldn't be documented/advertized IMHO.
The patch has a couple of other changes that could be included though.

----------

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


More information about the Python-bugs-list mailing list