[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