Message319505
| 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 | <1528971340.34.0.947875510639.issue33462@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-06-14 10:15:40 | remi.lapeyre | set | recipients: + remi.lapeyre, tim.peters, rhettinger, methane, eric.snow, serhiy.storchaka, selik |
| 2018-06-14 10:15:40 | remi.lapeyre | set | messageid: <1528971340.34.0.947875510639.issue33462@psf.upfronthosting.co.za> |
| 2018-06-14 10:15:40 | remi.lapeyre | link | issue33462 messages |
| 2018-06-14 10:15:40 | remi.lapeyre | create | |