Attack a sacred Python Cow
tjreedy at udel.edu
Fri Jul 25 03:01:58 CEST 2008
Torsten Bronger wrote:
> And why does this make the implicit insertion of "self" difficult?
> I could easily write a preprocessor which does it after all.
a = 3
Inserting self into the arg list is trivial. Mindlessly deciding
correctly whether or not to insert 'self.' before 'a' is impossible when
'a' could ambiguously be either an attribute of self or a local variable
of f. Or do you and/or Jordan plan to abolish local variables for methods?
More information about the Python-list