[Python-Dev] Compilation of "except FooExc as var" adds useless store

Chris Angelico rosuav at gmail.com
Sun Jan 6 15:22:19 EST 2019


On Mon, Jan 7, 2019 at 7:18 AM Brett Cannon <brett at python.org> wrote:
>
> Maybe someone can propose a code comment to explain this instead? I agree that this doesn't need to be explained in the language spec, but I don't see any harm in a comment where the opcodes are emitted to explain why it is the way it is .
>

No BPO as yet but here's a tracker issue to get started.

https://github.com/python/cpython/pull/11448

ChrisA


More information about the Python-Dev mailing list