Brandt Bucher <brandtbuc...@gmail.com> added the comment:

In any case, I think the proposed change could break the current behavior:

>>> x = "global"
>>> class C:
...     x = "local"
...     l = x
...     del x
...     g = x
... 
>>> C.l
'local'
>>> C.g
'global'

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42185>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to