New submission from Mark Shannon <m...@hotpy.org>:

The bytecodes WITH_CLEANUP_START and WITH_CLEANUP_FINISH are complex and 
implement entirely different behavior depending on what is on the stack.

This is unnecessary as the same semantics can be implemented with much simpler 
bytecodes and using the compiler do much of the work now done at runtime.

----------
components: Interpreter Core
messages: 313771
nosy: Mark.Shannon
priority: normal
severity: normal
status: open
title: The interpreter bytecodes for with statements are overly complex.
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33072>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to