[issue40196] symtable.Symbol.is_local() can be True for global symbols

Pablo Galindo Salgado report at bugs.python.org
Mon Apr 6 09:35:19 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> In symtable.Function.get_locals() symbols with scopes in (LOCAL, CELL) are selected.

Thanks for pointing that out. I will simplify PR 19391.

----------

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


More information about the Python-bugs-list mailing list