A 'Python like' language

DH no at sp.am
Fri Mar 26 20:41:24 CET 2004


 > Anyway GvR just posted on the python-dev saying this:
 >
 > ==
 > No, I want to reserve the leading dot for attribute assignment to a
 > special object specified by a 'with' statement, e.g.
 >
 > with self:
 >     .foo = [1, 2, 3]
 >     .bar(4, .foo)

brilliant!

 > this is in VB so neither of us can claim to have invented it. :-)

oh wait, this sucks :)

 > (And "with" was in Pascal 30+ years ago, without the leading dot.)

lemme ask my grandfather for his opinion



More information about the Python-list mailing list