You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AST optimizer skips PEP 696 type parameter defaults #123344
Activity
sobolevn commentedon Aug 26, 2024
This might help someone in the future, I tested it locally:
echo 'def f[T = 1 + 2](): pass' | ./python.exe -m disJelleZijlstra commentedon Aug 26, 2024
The same change is also needed for the ParamSpec and TypeVarTuple cases though.
Eclips4 commentedon Aug 26, 2024
If no one complains, I would like to work with @wrongnull on this
gh-123344: Add missing ast optimizations for PEP 696 (#123377)
pythongh-123344: Add missing ast optimizations for PEP 696 (pythonGH-…
[3.13] gh-123344: Add missing ast optimizations for PEP 696 (GH-123377)…
picnixz commentedon Aug 28, 2024