[Python-Dev] Re: method decorators (PEP 318)
Guido van Rossum
guido at python.org
Fri Mar 26 14:19:14 EST 2004
> > 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)
>
> Have you been reading the Prothon docs? ;^)
No, I've expressed this idea before, and they probably saw it. Plus,
this is in VB so neither of us can claim to have invented it. :-)
http://freespace.virgin.net/s.cowan/vbhowto/how_to/vb_controls/with_statement.htm
(And "with" was in Pascal 30+ years ago, without the leading dot.)
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list