Decorator syntax

Istvan Albert ialbert at
Thu Aug 5 21:58:56 CEST 2004

Terry Reedy wrote:

> Also, some of the major proponents want parameterized decorators and
> multiple decorators, not just a different position for staticmethod and
> classmethod.  So

And that's the problem. The example and motivation in PEP318 are both
vague and misleading. The disagreement is caused by trying to
achieve a lot of different things with one feature.

Thus the solution that is emerging is to cram everything in
front of the function definition.


More information about the Python-list mailing list