-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
bpo-30406: Make async and await proper keywords #1669
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 all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
abbd401
make async and await real keywords
JelleZijlstra 8e16e6b
remove asyncio test that is now a SyntaxError
JelleZijlstra 81dae40
update syntax tests in test_coroutines
JelleZijlstra 9e65b47
regenerate symbol.py
JelleZijlstra f850135
fix tokenize.py
JelleZijlstra f95c992
fewer nested lists allowed
JelleZijlstra 5c8bddc
regenerate keyword.py
JelleZijlstra ac04cff
fix lib2to3
JelleZijlstra 8af009f
add some docs
JelleZijlstra 4289253
fix test_parser.py
JelleZijlstra cf2f467
attempt to get pydoc to work
JelleZijlstra c824937
add blurb
JelleZijlstra ca85605
run make patchcheck to fix whitespace
JelleZijlstra 505a66d
remove obsolete code from forbidden_name
JelleZijlstra 57fb8ed
attempt to make it work without await_expr
JelleZijlstra e987d50
undo async_for-related changes
JelleZijlstra dacf3e6
minor CR fixes
JelleZijlstra d31627a
closer to yuri's code
JelleZijlstra ef28dea
undo unnecessary change
JelleZijlstra 499aa40
fix whitespace (make patchcheck)
JelleZijlstra 7c664e3
fix test_symbol
JelleZijlstra 5659c8d
use a separate sync_comp_for (suggested by Yury)
JelleZijlstra 2413e3e
regenerate symbol.py
JelleZijlstra cdbc7d5
simplify lib2to3 changes
JelleZijlstra 38ba810
remove "again" from wording intoken.rst
JelleZijlstra 78ddbde
fix lib2to3
JelleZijlstra 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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,6 +20,8 @@ | |
| 'and', | ||
| 'as', | ||
| 'assert', | ||
| 'async', | ||
| 'await', | ||
| 'break', | ||
| 'class', | ||
| 'continue', | ||
|
|
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not saying "keywords". These names are added to keywords.py and it's the PR title, no?