[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 05:05:22 EST 2021


Mark Shannon <mark at hotpy.org> added the comment:

No this is not a duplicate.
This is about making the symbol table correct for current semantics.
#42725 is about changing the behavior

----------
resolution: duplicate -> 
status: closed -> open
superseder: PEP 563: Should the behavior change for yield/yield from's -> 

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


More information about the Python-bugs-list mailing list