[Python-Dev] Decorator order implemented backwards?

Delaney, Timothy C (Timothy) tdelaney at avaya.com
Tue Aug 10 05:26:57 CEST 2004


James Y Knight wrote:

> 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 ...

Tim Delaney


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