This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Akuli
Recipients Akuli
Date 2020-07-27.14:18:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595859535.68.0.0423357008273.issue41409@roundup.psfhosted.org>
In-reply-to
Content
The pop method of collections.deque can't be used like deque.pop(index), even though `del deque[index]` or deque.pop() without an argument works. This breaks the Liskov substitution principle because collections.abc.MutableMapping supports the .pop(index) usage. Is this intentional?

related typeshed issue: https://github.com/python/typeshed/issues/4364
History
Date User Action Args
2020-07-27 14:18:55Akulisetrecipients: + Akuli
2020-07-27 14:18:55Akulisetmessageid: <1595859535.68.0.0423357008273.issue41409@roundup.psfhosted.org>
2020-07-27 14:18:55Akulilinkissue41409 messages
2020-07-27 14:18:55Akulicreate