| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…ythonGH-121802) (cherry picked from commit 6682d91) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
Oh: type x[genexpr = (x async for x in [])] = (x async for x in [])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax. Maybe you meant '==' or ':=' instead of '='?Is it expected? did something change between 3.12 and 3.13 for this? |
Sorry, something went wrong.
|
Oh yeah, I made comprehensions in annotation scopes a syntax error in 3.12, but then added support in 3.13. |
Sorry, something went wrong.
|
And also, the tests were using TypeVar defaults, which only exist in 3.13. I removed the tests that rely on comprehensions within annotation scopes within classes, because that was a SyntaxError in 3.12. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
(cherry picked from commit 6682d91)
Co-authored-by: Bénédikt Tran 10796600+picnixz@users.noreply.github.com