Decorator syntax

Istvan Albert ialbert at mailblocks.com
Thu Aug 5 15:58:56 EDT 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.

Istvan.




More information about the Python-list mailing list