[New-bugs-announce] [issue29663] Make collections.deque json serializable

Tarek Ziadé report at bugs.python.org
Mon Feb 27 05:21:30 EST 2017


New submission from Tarek Ziadé:

collections.deque could be serialized in JSON as a simple array.

The only thing we can lose in the process is the maxlen value, but I think it's a decent behaviour to ignore it when encoding and to set it to None when decoding.

----------
components: Library (Lib)
messages: 288629
nosy: rhettinger, tarek
priority: normal
severity: normal
status: open
title: Make collections.deque json serializable
versions: Python 3.7

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


More information about the New-bugs-announce mailing list