Raymond Hettinger added the comment: For now, just hardcoding deque support is fine.
Support for a __json__ attribute or JSON array registry is a topic for another day. Even then, I don't think that within the standard library support for JSONification should have its responsibility shifted outside the of json module itself. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20774> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com