-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-45292: [PEP-654] add except* #29581
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
50 commits
Select commit
Hold shift + click to select a range
b0ca0b7
bpo-45292: [PEP-654] add except*
iritkatriel cad9126
fold invalid_except_star_stmt into invalid_except_stmt. Add custom me…
iritkatriel 798aaa7
Erlend's first review
iritkatriel f95272c
fix grammar rule for mixed except/except*
iritkatriel ca44878
fix doctest failure
iritkatriel adc834d
remove duplication in except* handling
iritkatriel e3fa2f7
fix bug - move POP_BLOCK to the end in case of except*
iritkatriel 1908fd8
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 5846329
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel f9a626c
Use Py_NewRef(_PyLong_GetZero());
iritkatriel fdc948b
Split AST node Try -> Try/TryStar. Separate try-except and try-except…
iritkatriel 488f9fa
Revert doctest changes (not needed with TryStar)
iritkatriel 4eff693
a pesky little decref
iritkatriel 211d6da
📜🤖 Added by blurb_it.
blurb-it[bot] 03dbf43
update unparse for TryStar
iritkatriel 704bc8f
update ast doc with TryStar
iritkatriel ff36e5d
add try-star test in test_grammar
iritkatriel 73ee294
add test for invalid exception matcher (old except)
iritkatriel 51e8178
break/ continue/return in except* block is SyntaxError
iritkatriel 50a2126
add stack stability tests for except*
iritkatriel 1d9969d
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 4a7bf9f
remove commented out debug prints
iritkatriel 3ad5d41
add trace tests for except*
iritkatriel 2813363
remove obsolete comment
iritkatriel 7e54805
formatting of comment
iritkatriel 5736f15
save step before try
iritkatriel 82a4db3
add diagram of stack contents durign except*
iritkatriel a461e7d
one more save step before try
iritkatriel be609b3
fix diagram
iritkatriel 706e54b
fix diagram some more
iritkatriel 7f49575
treat JUMP_IF_NOT_EG_MATCH like *_EXC_MATCH in mark_stacks
iritkatriel ae729f3
whatnew in 3.11
iritkatriel 38e3b50
Merge branch 'main' into bpo-45292-except_star
ambv ee53c8d
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 9c18862
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 7428b15
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel bbe44fb
fix typos in dis doc entry
iritkatriel 22bf207
"three items" --> "3items"
iritkatriel 66d830a
add spaces
iritkatriel f2b74a5
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 035fe5c
Apply first batch of suggestions from code review
iritkatriel 5d52de3
the remaining comments from Erlend
iritkatriel a1591f0
sign what's new
iritkatriel ce36211
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 20d9ccd
'== -1' --> '< 0' for consistency. Added a missing recursion guard.
iritkatriel 3a642e6
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 13e0d0f
Merge branch 'main' into bpo-45292-except_star
iritkatriel 078f050
whitespace
iritkatriel a91b219
Merge branch 'bpo-45292-except_star' of https://github.com/iritkatrie…
iritkatriel 564b8a0
Merge remote-tracking branch 'upstream/main' into bpo-45292-except_star
iritkatriel 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.