Torsten Bronger wrote:
Hallöchen!
 > And why does this make the implicit insertion of "self" difficult?
I could easily write a preprocessor which does it after all.

class C():
  def f():
    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?

tjr

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to