-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[iter] support iter(callable, sentinel)
#156416
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
[iter] support iter(callable, sentinel)
#156416
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/156416
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 4965a5e with merge base 9d32aa9 ( BROKEN TRUNK - The following job failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Rebased |
ghstack-source-id: 8f7498b Pull Request resolved: pytorch#156416
Starting merge as part of PR stack under #156460 |
Starting merge as part of PR stack under #158410 |
Rebased |
Starting merge as part of PR stack under #158410 |
Starting merge as part of PR stack under #156460 |
Rebased |
Starting merge as part of PR stack under #158410 |
Starting merge as part of PR stack under #158410 |
This object keeps track when the iterator is exhausted (raise Stopiteration). Pull Request resolved: #156460 Approved by: https://github.com/zou3519 ghstack dependencies: #156371, #156416
Pull Request resolved: #158410 Approved by: https://github.com/XuehaiPan, https://github.com/zou3519 ghstack dependencies: #156371, #156416, #156460
Pull Request resolved: #156416 Approved by: https://github.com/XuehaiPan, https://github.com/zou3519 ghstack dependencies: #156371
This object keeps track when the iterator is exhausted (raise Stopiteration). Pull Request resolved: #156460 Approved by: https://github.com/zou3519 ghstack dependencies: #156371, #156416
Pull Request resolved: #158410 Approved by: https://github.com/XuehaiPan, https://github.com/zou3519 ghstack dependencies: #156371, #156416, #156460
Stack from ghstack (oldest at bottom):
_call_iter_tuple_list
withUserDefinedObjectVariable
arg #159402iter(callable, sentinel)
#156416iter(..)
#156371cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @Lucaskabela @mlazos