Uh oh!
There was an error while loading. Please reload this page.
bpo-40663: Correctly generate annotations for subscripts - #20156
Conversation
| eq("set[str,]") | ||
| eq("tuple[str, ...]") | ||
| eq("tuple[(str, *types)]") | ||
| eq("tuple[str, int, (str, int)]") |
There was a problem hiding this comment.
This case was passing before. Did you meant tuple[str, int, *(str, int)]?
There was a problem hiding this comment.
It is for validating tuples have parens when they are inside of another tuple with different precedence.
miss-islington
commented
May 18, 2020
Thanks @isidentical for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
miss-islington
commented
May 18, 2020
Sorry, @isidentical and @pablogsal, I could not cleanly backport this to |
miss-islington
commented
May 18, 2020
Sorry @isidentical and @pablogsal, I had trouble checking out the |
isidentical
commented
May 18, 2020
I'll create backport PRs myself |
…unparse.c (pythonGH-20156). (cherry picked from commit 2135e10) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
bedevere-bot
commented
May 18, 2020
GH-20191 is a backport of this pull request to the 3.8 branch. |
…unparse.c (pythonGH-20156). (cherry picked from commit 2135e10) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
bedevere-bot
commented
May 18, 2020
GH-20192 is a backport of this pull request to the 3.7 branch. |
miss-islington
commented
May 22, 2020
Thanks @isidentical for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
…e.c (pythonGH-20156) (cherry picked from commit 2135e10) Co-authored-by: Batuhan Taskaya <batuhanosmantaskaya@gmail.com>
bedevere-bot
commented
May 22, 2020
GH-20324 is a backport of this pull request to the 3.9 branch. |
https://bugs.python.org/issue40663