[Python-Dev] Decorator order implemented backwards? (original) (raw)

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