[issue41409] deque.pop(index) is not supported

Jim Jewett report at bugs.python.org
Mon Jul 27 18:32:18 EDT 2020


Jim Jewett <jimjjewett at gmail.com> added the comment:

It may well have been intentional, as deques should normally be mutated only at the ends.  But Raymond did make changes to conform to the ABC, so this should probably be supported too.  Go ahead and include docstrings and/or discouraging it, though, except for i=0 and i=-1

----------
nosy: +Jim.Jewett

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41409>
_______________________________________


More information about the Python-bugs-list mailing list