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

Serhiy Storchaka report at bugs.python.org
Mon Jul 27 10:38:52 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

>>> issubclass(collections.deque, collections.abc.MutableSequence)
True
>>> sorted(set(dir(collections.abc.MutableSequence)) - set(dir(collections.deque)))
['__abstractmethods__', '__module__', '__slots__', '_abc_impl']

Well, it is a bug.

----------
type:  -> behavior

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


More information about the Python-bugs-list mailing list