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 remi.lapeyre
Recipients eric.snow, methane, remi.lapeyre, rhettinger, selik, serhiy.storchaka, tim.peters
Date 2018-06-14.10:15:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hi, I took a look at the code of OrderedDict it's using the double linked-list to iterate through the items using _odictnode_PREV and _odictnode_NEXT.

Since ordereddict needs to support move_to_end that will change the iterating order while dict does not, is it possible to share the code for __reversed__? As I understand it, the current code for OrderedDict and dict are not sharing code for the implementation of __iter__ and I'm not sure how it would be possible to do so.
Date User Action Args
2018-06-14 10:15:40remi.lapeyresetrecipients: + remi.lapeyre, tim.peters, rhettinger, methane, eric.snow, serhiy.storchaka, selik
2018-06-14 10:15:40remi.lapeyresetmessageid: <>
2018-06-14 10:15:40remi.lapeyrelinkissue33462 messages
2018-06-14 10:15:40remi.lapeyrecreate