Jan Christoph <con-f-...@gmx.net> added the comment:

In particular, this might conflict with the documentation of global, which 
states:

> If the target is an identifier (name):
>
>    If the name does not occur in a global statement in the current code 
> block: the name is bound to the object in the current local namespace.
>
>    Otherwise: the name is bound to the object in the current global namespace.

There is no exception of names that are within the body of a class object and 
start (but not end) with double underscores.

----------

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

Reply via email to