[docs] [issue16057] Subclasses of JSONEncoder should not be insturcted to call JSONEncoder.decode

Kushal Das report at bugs.python.org
Fri Sep 28 20:36:03 CEST 2012


Kushal Das added the comment:

The implementation clearly says that default method should return a serializable object or calls the base implementation to raise TypeError. So I don't think any of the examples is a bug.

----------
nosy: +kushaldas

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


More information about the docs mailing list