[issue37770] reversed class should implement __reversed__

2019-08-05 Thread Jason Curtis
Jason Curtis added the comment: Ok, not so sure about the PR now; I dug around and realized this is a C implementation and my C is likely not strong enough! -- ___ Python tracker ___

[issue37770] reversed class should implement __reversed__

2019-08-05 Thread Jason Curtis
New submission from Jason Curtis : 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])) TypeErr