Message126431
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)
>>> |
|
Date |
User |
Action |
Args |
2011-01-17 19:41:30 | avdd | set | recipients:
+ avdd, georg.brandl, bquinlan, ron_adam, r.david.murray |
2011-01-17 19:41:30 | avdd | set | messageid: <1295293290.4.0.565521281546.issue10918@psf.upfronthosting.co.za> |
2011-01-17 19:41:25 | avdd | link | issue10918 messages |
2011-01-17 19:41:24 | avdd | create | |
|