-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add __new__ to old ast.Constant aliases #14397
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
61af05e
Add __new__ to old ast.Constant aliases
srittau 2c52b43
Add type: ignore
srittau b813e7e
Remove allowlist entries
srittau 3c59c0c
Remove fields from deprecated classes
srittau 503df8a
Annotate __new__ arguments
srittau 9656228
Add ast.Ellipsis.__new__ to allowlist
srittau 4948960
Revert "Add ast.Ellipsis.__new__ to allowlist"
srittau 0f22d0c
Broaden type ignores
srittau 076515a
Reapply "Add ast.Ellipsis.__new__ to allowlist"
srittau bdb9adc
pyright ignore
srittau e4d190a
fix
srittau 479e748
Fix a linter warning
srittau aa36683
Remove 'deprecated' wording
srittau b1eca02
Even shorter deprecation message
srittau 4c518cc
Add setters
srittau fac6f9a
fix
srittau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove fields from deprecated classes
Add @deprecated marker to deprecated `Constant` attributes
- Loading branch information
commit 3c59c0ce8cf56245a0fcb52a9362c253a559b591
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.