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 rhettinger
Recipients Akuli, Jim.Jewett, ShubhamKJha, Yuan, pablogsal, rhettinger, serhiy.storchaka
Date 2020-07-28.03:30:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595907022.74.0.9809183159.issue41409@roundup.psfhosted.org>
In-reply-to
Content
This was an intentional decision.  Deques designed for fast access at the end points. Also, pop() is a core deque operation that needs to be fast.  Altering its signature with an optional argument would slow it down.

Thank you for the suggestion, but we really shouldn't do this.
History
Date User Action Args
2020-07-28 03:30:22rhettingersetrecipients: + rhettinger, Jim.Jewett, serhiy.storchaka, Akuli, pablogsal, ShubhamKJha, Yuan
2020-07-28 03:30:22rhettingersetmessageid: <1595907022.74.0.9809183159.issue41409@roundup.psfhosted.org>
2020-07-28 03:30:22rhettingerlinkissue41409 messages
2020-07-28 03:30:22rhettingercreate