Message349085
I've just been trying to implement some logic which potentially involves reversing things back to their initial orders, and it'd be nice to just be able to call reversed() on something that has already been reversed.
>>> reversed(reversed([1,2,3,4]))
TypeError: 'list_reverseiterator' object is not reversible
Seems like this should be trivial to implement by just returning the initial iterator.
Happy to post a pull request if it would be considered. |
|
Date |
User |
Action |
Args |
2019-08-05 22:40:03 | jason.curtis | set | recipients:
+ jason.curtis |
2019-08-05 22:40:03 | jason.curtis | set | messageid: <1565044803.77.0.346292887054.issue37770@roundup.psfhosted.org> |
2019-08-05 22:40:03 | jason.curtis | link | issue37770 messages |
2019-08-05 22:40:03 | jason.curtis | create | |
|