[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-28 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-27 Thread Dennis Sweeney
Dennis Sweeney added the comment: GH-24334 already applied the necessary change for 3.10. -- nosy: +iritkatriel ___ Python tracker ___

[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-27 Thread Dennis Sweeney
Change by Dennis Sweeney : -- keywords: +patch pull_requests: +25935 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27402 ___ Python tracker ___ _

[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-27 Thread Dennis Sweeney
Dennis Sweeney added the comment: Opcodes change from one version to another. You linked the Python 3.9 documentation. Python 3.9 opcodes are listed here: https://github.com/python/cpython/blob/3.9/Lib/opcode.py (and you can browse the branches and commit history for that file). 3.9 has SET

[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-27 Thread Patrick Reader
Patrick Reader added the comment: It was, at least partially, replaced by BEGIN_WITH for bpo-40222: https://github.com/python/cpython/commit/adcd2205565f91c6719f4141ab4e1da6d7086126#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653bL741 -- versions: +Python 3.11 __

[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-27 Thread Andrei Kulakov
Andrei Kulakov added the comment: Note that SETUP_WITH doc was completely removed. Not sure if that was intentional (since the opcode itself still exists). -- nosy: +andrei.avk ___ Python tracker __

[issue42167] Documentation for SETUP_WITH opcode is wrong

2020-10-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +Mark.Shannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue42167] Documentation for SETUP_WITH opcode is wrong

2020-10-27 Thread Patrick Reader
New submission from Patrick Reader : 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 [do