Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 35.2k
gh-105858: Improve AST node constructors#105880
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
b1b73d9d417cf3c74740a05d5569f4b14ac0efcdf3f9416964c427481a9b872db16cc76bf677ba2442b65a1d37ac4627a11f85438ff0cc6754cf55f4bb0656File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| Improve the constructors for :mod:`ast` nodes. Arguments of list types now | ||
| default to an empty list if omitted, and optional fields default to ``None``. | ||
| AST nodes now have an | ||
| ``__annotations__`` attribute with the expected types of their attributes. | ||
| Passing unrecognized extra arguments to AST nodes is deprecated and will | ||
| become an error in Python 3.15. Omitting a required argument to an AST node | ||
| is deprecated and will become an error in Python 3.15. Patch by Jelle | ||
| Zijlstra. | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.