-
Notifications
You must be signed in to change notification settings - Fork 25.7k
[dynamo] support dict.update(seq2) / OrderedDict.update(seq2) / defaultdict.update(seq2)
#115011
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
Conversation
…defaultdict.update(seq2)` [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/115011
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 11c7b02 with merge base ec124b9 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…(seq2)` / `defaultdict.update(seq2)`" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
…(seq2)` / `defaultdict.update(seq2)`" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
…defaultdict.update(seq2)` ghstack-source-id: c32d63e Pull Request resolved: pytorch#115011
…(seq2)` / `defaultdict.update(seq2)`" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
| dd["c"] = x * 2 | ||
| dd.update({"b": x * 3}) | ||
| dd.update([["d", x - 2], ("e", x + 2)]) | ||
| dd.update(zip("ab", [x + 3, x + 4])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test for defaultdict.update is not placed in a separate @make_test function. Because the collections module is ignored in SKIP_DIRS.
…(seq2)` / `defaultdict.update(seq2)`" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
…(seq2)` / `defaultdict.update(seq2)`" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
…defaultdict.update(seq2)` ghstack-source-id: 65cdd6d Pull Request resolved: pytorch#115011
…copy()` (#115012) Pull Request resolved: #115012 Approved by: https://github.com/jansel ghstack dependencies: #115010, #115011
…defaultdict.update(seq2)` (pytorch#115011) Pull Request resolved: pytorch#115011 Approved by: https://github.com/jansel ghstack dependencies: pytorch#115010
…copy()` (pytorch#115012) Pull Request resolved: pytorch#115012 Approved by: https://github.com/jansel ghstack dependencies: pytorch#115010, pytorch#115011
Stack from ghstack (oldest at bottom):
dictin sorted key ordering #114947dict.copy()/OrderedDict.copy()/defaultdict.copy()#115012dict.update(seq2)/OrderedDict.update(seq2)/defaultdict.update(seq2)#115011dict.fromkeys()/OrderedDict.fromkeys()/defaultdict.fromkeys()#115010cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng