Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Name mangling is intended to create class local references (that is why the 
class name is prepended) and can be used to add a layer of privacy to calls 
*within* a class.   It is not intended to do what you're trying to do outside 
of class definitions.

----------
nosy: +rhettinger
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to