classification
Title: Documentation for SETUP_WITH opcode is wrong
Type: Stage:
Components: Documentation, Interpreter Core Versions: Python 3.10, Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Mark.Shannon, docs@python, pxeger
Priority: normal Keywords:

Created on 2020-10-27 09:54 by pxeger, last changed 2020-10-27 10:05 by xtreak.

Messages (1)
msg379749 - (view) Author: Patrick Reader (pxeger) * Date: 2020-10-27 09:54
bpo-33387 introduced two new opcodes, `RERAISE` and `WITH_EXCEPT_START` (previously called `WITH_EXCEPT_FINISH`), replacing the previous `WITH_CLEANUP_START`, `WITH_CLEANUP_FINISH`,
`BEGIN_FINALLY`, `END_FINALLY`, `CALL_FINALLY` and `POP_FINALLY`.

The [documentation](https://docs.python.org/3.9/library/dis.html#opcode-SETUP_WITH) for it references the since removed `WITH_CLEANUP_START`, which is definitely wrong. I don't know enough to be able to fix it though, sorry, so I've added the core team.
History
Date User Action Args
2020-10-27 10:05:21xtreaksetnosy: + Mark.Shannon
2020-10-27 09:54:48pxegercreate