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-February/042647.html below:

[Python-Dev] new syntax for wrapping (PEP 318)

[Python-Dev] new syntax for wrapping (PEP 318) [Python-Dev] new syntax for wrapping (PEP 318)Phillip J. Eby pje at telecommunity.com
Thu Feb 19 19:19:34 EST 2004
At 06:48 PM 2/19/04 -0500, Jewett, Jim J wrote:

>I think this may be one reason this didn't happen before;
>wrapping is good, but it isn't entirely obvious how to
>write it or exactly what it should mean.  Given that, it
>might be premature to use up the [] syntax.

Well, I personally prefer the 'as' syntax for both class and function 
decorators.

As for the semantics of class decorators, I would propose that they be 
identical to the semantics for function decorators.  I don't think there's 
a point to adding more ways to spell '__metaclass__'.  :)



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