Carl Banks a écrit :
On Sep 29, 3:11 am, Bruno Desthuilliers <bruno.
42.desthuilli...@websiteburo.invalid> wrote:
Mark Dickinson a écrit :
(snip)
The double underscores and name mangling are a red herring:
I beg to disagree. The problem (well... what I think is a problem,
actually) IS that name mangling is applied to a method *local* variable.


It's not (__a is a global),

Hmmm, yes, indeed.

and I'll opine that the behavior is more
consistent and more easily explained the way it is.

As long as this behaviour is known and intentional, I won't discuss the point any further as far as I'm concerned !-)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to