Serhiy Storchaka added the comment: Seems there are reference leaks. And I afraid that importing a module for every serialized object can significantly hit the performance. Can you run some benchmarks?
> An __json__ attribute would have to convert to a list first. Adding support > directly to the json module would allow the deque to be read directly. With PR 830 the deque is converted to a list by json encoder. ---------- _______________________________________ 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