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 jason.curtis
Recipients jason.curtis
Date 2019-08-05.22:40:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565044803.77.0.346292887054.issue37770@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-08-05 22:40:03jason.curtissetrecipients: + jason.curtis
2019-08-05 22:40:03jason.curtissetmessageid: <1565044803.77.0.346292887054.issue37770@roundup.psfhosted.org>
2019-08-05 22:40:03jason.curtislinkissue37770 messages
2019-08-05 22:40:03jason.curtiscreate