Adrian Dries <adr...@gmail.com> added the comment: No, private mangling applies to any identifier in class-scope:
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15) [GCC 4.4.1] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> class C: ... def f(__x): pass ... >>> import inspect >>> inspect.getargspec(C.f) ArgSpec(args=['_C__x'], varargs=None, keywords=None, defaults=None) >>> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10918> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com