[issue20774] collections.deque should ship with a stdlib json serializer

R. David Murray report at bugs.python.org
Sun Mar 5 09:58:55 EST 2017


R. David Murray added the comment:

I disagree, I think a __json__ protocol is sensible.  But this is why it needs to be discussed on python-dev or python-ideas first :)  In  the meantime adding deque support like we added enum support is reasonable, but IMO we shouldn't go to crazy adding support for non-base types before talking about a __json__ protocol.

----------

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


More information about the Python-bugs-list mailing list