[Python-Dev] pep 318, Decorators for Functions, Methods and Classes

Simon Percivall s.percivall at chello.se
Fri Aug 6 17:43:13 CEST 2004


Sorry. I actually read some of the pep this time ... saw the Open 
Issues part.

Still, is there any thinking about this? if I may ask.

On 2004-08-06, at 17.38, Simon Percivall wrote:

> On pep 318 (like everything else here).
>
> Is it actually supposed to work for classes? like the
> pep title says.
>
> It doesn't seem to work, instead it issues a SyntaxError
> on the class keyword. Also, the discussion is completely
> focused on decorating functions and methods.
>
> //Simon



More information about the Python-Dev mailing list