[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-26 Thread Irit Katriel
Change by Irit Katriel : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-26 Thread Mark Shannon
Mark Shannon added the comment: New changeset dea5bf9d15999bfcc58095b157c0678d45b00bdd by Irit Katriel in branch 'master': bpo-33387: update documentation for exception handling opcode changes (GH-24334) https://github.com/python/cpython/commit/dea5bf9d15999bfcc58095b157c0678d45b00bdd

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-25 Thread Irit Katriel
Irit Katriel added the comment: There's another place that needs to be updated: https://docs.python.org/3/library/dis.html#opcode-SETUP_WITH need to replace WITH_CLEANUP_START by WITH_EXCEPT_START -- ___ Python tracker

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-25 Thread Irit Katriel
Change by Irit Katriel : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-25 Thread Irit Katriel
Change by Irit Katriel : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-25 Thread Irit Katriel
Irit Katriel added the comment: I'm reopening this to delete an obsolete comment left behind. -- nosy: +iritkatriel status: closed -> open ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2021-01-25 Thread Irit Katriel
Change by Irit Katriel : -- pull_requests: +23153 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/24334 ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +21729 pull_request: https://github.com/python/cpython/pull/22765 ___ Python tracker

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-10-16 Thread Mark Shannon
Mark Shannon added the comment: Yes, thanks for pointing that out. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-10-16 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +21689 pull_request: https://github.com/python/cpython/pull/22723 ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-10-16 Thread Xavier Morel
Xavier Morel added the comment: The 3.9 changelog mentions WITH_EXCEPT_FINISH but that seems to have ultimately been called WITH_EXCEPT_START, maybe it shoudl be updated also? -- nosy: +xmorel ___ Python tracker

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-01-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset 629023c05be24fa2f01c914c739aaa5a61a0304c by Victor Stinner in branch 'master': bpo-33387: Fix compiler warning in frame_block_unwind() (GH-18099) https://github.com/python/cpython/commit/629023c05be24fa2f01c914c739aaa5a61a0304c --

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2020-01-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17488 pull_request: https://github.com/python/cpython/pull/18099 ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-12-30 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-22 Thread STINNER Victor
STINNER Victor added the comment: Can this issue be closed now? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-21 Thread Gregory P. Smith
Gregory P. Smith added the comment: sweet! =) -- versions: +Python 3.9 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-21 Thread Mark Shannon
Mark Shannon added the comment: New changeset 82f897bf8f72d09f537054d64a94e645ad23d8d6 by Mark Shannon in branch 'master': Correct release version to 3.9 for RERAISE and WITH_EXCEPT_START bytecodes. (#17318) https://github.com/python/cpython/commit/82f897bf8f72d09f537054d64a94e645ad23d8d6

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-21 Thread Mark Shannon
Mark Shannon added the comment: Thanks for noticing. https://github.com/python/cpython/pull/17318 -- ___ Python tracker ___ ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-21 Thread Mark Shannon
Change by Mark Shannon : -- pull_requests: +16805 pull_request: https://github.com/python/cpython/pull/17318 ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-21 Thread STINNER Victor
STINNER Victor added the comment: The new doc seems to use Python version 3.8, but the change was merged into master which is the future Python 3.9, no? .. opcode:: RERAISE Re-raises the exception currently on top of the stack. .. versionadded:: 3.8 --

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-11-21 Thread STINNER Victor
STINNER Victor added the comment: Mark merged his PR 6641 but forgot to mention bpo-33387: commit fee552669f21ca294f57fe0df826945edc779090 Author: Mark Shannon Date: Thu Nov 21 09:11:43 2019 + Produce cleaner bytecode for 'with' and 'async with' by generating separate code for

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2019-04-09 Thread Cheryl Sabella
Cheryl Sabella added the comment: What would be the best way to resolve the discussion between this and issue 32949? Would it be good to try to get one of them into 3.8? -- nosy: +cheryl.sabella ___ Python tracker

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-07-08 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith, ncoghlan, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
Change by Mark Shannon : -- keywords: +patch pull_requests: +6337 stage: -> patch review ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
Change by Mark Shannon : -- Removed message: https://bugs.python.org/msg315906 ___ Python tracker ___

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
New submission from Mark Shannon : The six complex bytecodes currently used for implementing 'with' and 'try' statements can be replaced with just two simpler bytecodes. The six bytecodes are WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and

[issue33387] Simplify bytecodes for try-finally, try-except and with blocks.

2018-04-29 Thread Mark Shannon
Mark Shannon added the comment: The six complex bytecodes currently used for implementing 'with' and 'try' statements can be replaced with just two simpler bytecodes. The six bytecodes are WITH_CLEANUP_START, WITH_CLEANUP_FINISH, BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and