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 Ramchandra Apte, eric.snow, pitrou, rhettinger, serhiy.storchaka
Date 2013-02-27.17:24:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361985863.59.0.0902969530777.issue17100@psf.upfronthosting.co.za>
In-reply-to
Content
My only attraction to adding any of the rotate variants is that they provide functionality that can't be done efficiently by a user without access to the underlying data structure.

However, looking only at the API, the methods seem a bit awkward and a bit at odds with how people think of ordered dicts (rotate is not a method that comes to mind for my mental model).   

When I built the OD code, I looked at many existing implementations (in Python and other languages), and I don't recall seeing rotation in any of them.

In the absence of strong use cases, I prefer to keep the API thin so that OD's remain easy to learn and remember.
History
Date User Action Args
2013-02-27 17:24:23rhettingersetrecipients: + rhettinger, pitrou, eric.snow, Ramchandra Apte, serhiy.storchaka
2013-02-27 17:24:23rhettingersetmessageid: <1361985863.59.0.0902969530777.issue17100@psf.upfronthosting.co.za>
2013-02-27 17:24:23rhettingerlinkissue17100 messages
2013-02-27 17:24:23rhettingercreate