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/2003-August/037396.html below:

A syntax for function attributes?

[Python-Dev] Re: A syntax for function attributes? [Python-Dev] Re: A syntax for function attributes?Barry Warsaw barry@python.org
01 Aug 2003 08:37:48 -0400
On Thu, 2003-07-31 at 20:26, Greg Ewing wrote:

> I agree. We should *not* try to shoehorn properties into the
> function modifier syntax, as the resulting contortions would
> be at least as bad as what we have now, and probably worse!

Agreed, although I'll point out that properties are only one type of
descriptor.  I have an application which uses non-data descriptors (i.e.
define __get__() only) all over the place, and this syntactic extension
would definitely clean that code up.

-Barry





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