[New-bugs-announce] [issue42837] Symbol table incorrectly identifies code as a generator, when 'yield' occurs in an annotation

Mark Shannon report at bugs.python.org
Wed Jan 6 04:51:20 EST 2021


New submission from Mark Shannon <mark at hotpy.org>:

This is an internal inconsistency. I have not identified any surface level bugs, but it is a trap for future compiler work.

----------
assignee: Mark.Shannon
messages: 384479
nosy: Mark.Shannon, larry
priority: normal
severity: normal
status: open
title: Symbol table incorrectly identifies code as a generator, when 'yield' occurs in an annotation

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42837>
_______________________________________


More information about the New-bugs-announce mailing list