[Python-Dev] Decorator order implemented backwards? (original) (raw)
Guido van Rossum guido at python.org
Tue Aug 10 07:23:04 CEST 2004
- Previous message: [Python-Dev] Decorator order implemented backwards?
- Next message: [Python-Dev] Decorator order implemented backwards?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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/)
- Previous message: [Python-Dev] Decorator order implemented backwards?
- Next message: [Python-Dev] Decorator order implemented backwards?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]