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

[Python-Dev] PEP 318: Can't we all just get along?

[Python-Dev] PEP 318: Can't we all just get along? [Python-Dev] PEP 318: Can't we all just get along?Josiah Carlson jcarlson at uci.edu
Thu Aug 19 08:53:16 CEST 2004
> Is anybody seriously trying to come up with a single alternative
> decorator proposal that most folks "out there" can support, to be
> presented to me (with implementation, please!) in time for 2.4b1?

There was a poll linked from the decorators wiki, that now says
(consider the poll now closed).  If it were a democracy, the standings
are:

A. @classmethod def foo(): (107)   16%
C1. def foo() [classmethod]: (269) 39%
E1. def foo(): @classmethod (311)  45%

Both C1 and E1, which are the clear favorites, have been previously
rejected by Guido for various reasons.

If I were to vote between C1 ad E1, I'd say E1, if only because its
structure encourages reuse.

 - Josiah

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