[issue27362] json.dumps to check for obj.__json__ before raising TypeError

Berker Peksag report at bugs.python.org
Tue Jun 21 16:33:12 EDT 2016


Berker Peksag added the comment:

This was discussed on python-ideas before:

* https://groups.google.com/forum/#!msg/python-ideas/MbvpK21nUNA/DwYpOFOVuYMJ
* https://groups.google.com/forum/#!msg/python-ideas/JVLuo-L0reU/zLNnBa9THqgJ

I don't think there was an agreement on the idea so I suggest to send your proposal to python-ideas first.

----------
nosy: +berker.peksag
stage: needs patch -> 

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


More information about the Python-bugs-list mailing list