[issue26577] inspect.getclosurevars returns incorrect variable when using class member with the same name as other variable
hongweipeng
report at bugs.python.org
Sat Dec 18 10:34:16 EST 2021
hongweipeng <hongweichen8888 at sina.com> added the comment:
Why is expected that 'x' would not exist in cv.globals? I think it works normally, you can see `x` in `func.__globals__`.
----------
nosy: +hongweipeng
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26577>
_______________________________________
More information about the Python-bugs-list
mailing list