[docs] [issue16057] Subclasses of JSONEncoder should not be insturcted to call JSONEncoder.decode
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.
Python tracker <report at bugs.python.org>
More information about the docs