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

Emanuel Barry report at bugs.python.org
Tue Jun 21 09:19:55 EDT 2016


Emanuel Barry added the comment:

I'm not too familiar with the json package, but what should __json__ return when called?

----------
nosy: +ebarry
stage:  -> test needed
versions: +Python 3.6

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


More information about the Python-bugs-list mailing list