mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-46219, 46221: simplify except* implementation following exc_info changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289)
This commit is contained in:
parent
8e75c6b49b
commit
65e7c1f90e
9 changed files with 179 additions and 149 deletions
|
@ -911,8 +911,8 @@ All of the following opcodes use their arguments.
|
|||
Combines the raised and reraised exceptions list from TOS, into an exception
|
||||
group to propagate from a try-except* block. Uses the original exception
|
||||
group from TOS1 to reconstruct the structure of reraised exceptions. Pops
|
||||
two items from the stack and pushes 0 (for lasti, which is unused) followed
|
||||
by the exception to reraise or ``None`` if there isn't one.
|
||||
two items from the stack and pushes the exception to reraise or ``None``
|
||||
if there isn't one.
|
||||
|
||||
.. versionadded:: 3.11
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue