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

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

[Python-Dev] Re: new syntax for wrapping (PEP 318) [Python-Dev] Re: new syntax for wrapping (PEP 318)Skip Montanaro skip at pobox.com
Thu Feb 26 16:06:07 EST 2004
    Russell> I would rather focus on the heart of PEP 318 and try to make class and 
    Russell> static methods easier to declare, e.g. something like:

    Russell> def classmethod foo(self, ...):

    Russell> If one supports arbitrary modifier functions and lists of
    Russell> modifier functions I think readability is really going to
    Russell> suffer.

-1.  If you tie the specific decorators into the language syntax I think you
will find it too limiting in the long run (perhaps even in the short run).
I suspect many of the planned uses for such an extension will not simply be
to define class or static methods.

Skip

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