A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032529.html below:

[Python-Dev] Re: Extended Function syntax

[Python-Dev] Re: Extended Function syntax [Python-Dev] Re: Extended Function syntaxAahz aahz@pythoncraft.com
Thu, 30 Jan 2003 00:03:31 -0500
On Wed, Jan 29, 2003, Guido van Rossum wrote:
>
>   foo = property:
>     def get(self): ...
> 
> would end up meaning
> 
>   foo = property(thunk)
> 
> which is only a very small stretch from what property currently does
> (it would have to do a typecheck on its argument for backwards
> compatibility).

Sure.  But are you willing to put up with

foo = lambda:
    ...

;-)
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Argue for your limitations, and sure enough they're yours."  --Richard Bach



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