[Python-Dev] Decorator order implemented backwards?

Guido van Rossum guido at python.org
Tue Aug 10 07:23:04 CEST 2004


> > So, um...I assume this is a bug in the implementation, not the PEP,
> > because the PEP's way makes sense and the way it's implemented
> > doesn't. 
> 
> Especially since it will be most common to put @staticmethod or
> @classmethod first, which will play havoc with any decorator following
> that is expecting a function object ...

Um, right, this is backwards from what I had wanted.  Sorry, I
should've caught that before 2.4a2 went out!

--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list