mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302)
* bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy
This commit is contained in:
parent
a09062c267
commit
a94461d718
11 changed files with 138 additions and 146 deletions
|
@ -383,7 +383,9 @@ class CodeTest(unittest.TestCase):
|
|||
("STORE_NAME", "e"), # XX: we know the location for this
|
||||
("DELETE_NAME", "e"),
|
||||
("RERAISE", 1),
|
||||
("POP_EXCEPT_AND_RERAISE", None)
|
||||
("COPY", 3),
|
||||
("POP_EXCEPT", None),
|
||||
("RERAISE", 1)
|
||||
]
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue