Gabriel Genellina napisaĆ(a): >> Yes. Funciton is always a piece of code (program) that does something. >> There is >> no need for different syntax. > > Guido has regretted lambda for a long time; it was scheduled for > deletion on Python 3000 [2] but finally will stay [3].
Thanks for that info and links. > Class methods and instance methods are not just standard functions; > instance methods were plain functions before 2.2 and the Class object > was in charge of doing the "self magic". Now the descriptor protocol > provides far more possibilities. Actually I don't know what is "descriptor protocol", so maybe I should have finished discussing. I will aslo search for "self magic" -- some pieces of old code, or something. > I didn't say that (note that you trimmed most attribution lines) but I > like to have "short anonymous functions" altough the syntax might be > different. Perhaps in Python 4000. And I say "syntax should be the same". These are only opinions, so forgive me for wasting your time. -- http://mail.python.org/mailman/listinfo/python-list