-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Implement PEP 765 #130080
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
Comments
… so it can be used outside of the compiler
… can be used outside of the compiler (#130930)
… so it can be used outside of the compiler (python#130930)
🚀 Final task, mark the the PEP as Final:
|
There are a bunch of warnings when executing the test suite now:
I'm re-opening the issue so that we fix the issues in the tests but you can open a separate issue if you want. |
#130087 seems to have introduce a regression were AST folding is now applied even if it shouldn't be. E.g. # test.py
match a:
case -1+2j:
pass With Python 3.13 (or 3.14a6)
After #130087
|
Thanks, this is now fixed. |
@iritkatriel I believe this Line 943 in 90b82f2
Here is PR: #131745 |
We do this in other places - set everything to 0 and then override other fields. If someone adds a new field which should be initialised to 0 they will probably not bother to update initialisation. |
I see. Closing it then. |
… so it can be used outside of the compiler (python#130930)
This issue serves as a tracker for implementing PEP-765.
Linked PRs
_PyASTOptimizeState
initializing #131745The text was updated successfully, but these errors were encountered: