[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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant