A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-March/043558.html below:

[Python-Dev] Re: method decorators (PEP 318)

[Python-Dev] Re: method decorators (PEP 318)Casey Duncan casey at zope.com
Fri Mar 26 14:35:36 EST 2004
On Fri, 26 Mar 2004 11:19:14 -0800
Guido van Rossum <guido at python.org> wrote:

> > > 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.)

Pascal being my first compiled language I am well aware. As for VB, well
if it's good enough for VB, then hell.. ;^) 

For some reason I thought there was a philosophical objection to 'with'
in Python. Must have been an urban myth I guess.

-Casey

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4