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 mark.dickinson, python-dev, rhettinger, serhiy.storchaka, tim.peters, vstinner
Date 2016-01-27.21:24:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
My only aversion to raising an exception is that it goes against the original intent of maxlen as giving an automatic-pop-to-make-room behavior.

Rather that introduce a discontinuity, I like the "smoothness" of letting d.insert(len(d), obj) follow the insert-normally-then-pop-from-the-right rule as opposed to having a special case.
Date User Action Args
2016-01-27 21:24:58rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, vstinner, python-dev, serhiy.storchaka
2016-01-27 21:24:58rhettingersetmessageid: <>
2016-01-27 21:24:58rhettingerlinkissue26194 messages
2016-01-27 21:24:58rhettingercreate