-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the reversed() built-in on appropriate iterators #319
Comments
Thanks for your PR. I implemented it a little bit differently:
Note that master breaks backwards compability with 0.23.x. |
Cool, I'll test this out. As for compatibility, it looks like that's broken due to doing |
|
Just curious, but is that rename really worth breaking compatibility? You could maintain compatibility by leaving the old form behind pointing to the new form, but ... idk, seems like a lot of extra work just to kill an innocent underscore. :) |
It does a different thing now: It iterates over nodes, where it previously was iterating over moves. So might as well change the name, which I always wanted to do anyway. |
https://docs.python.org/3/library/functions.html#reversed
As discussed offline, I'm planning on implementing support for this built-in with a PR when I can get the time.
Discussion in #95 might be relevant.
The text was updated successfully, but these errors were encountered: