[Python-Dev] request: add keywords for static and class methods only [related to decorators discussion] (original) (raw)

Bob Ippolito bob at redivi.com
Tue Aug 10 04:10:37 CEST 2004


On Aug 6, 2004, at 1:13 PM, Doug Holton wrote:

After reading some posts here and the wiki page discussing the decorators: http://www.python.org/moin/PythonDecorators One idea that some people have suggested is to separate out standard uses for decorators like function metadata, vs. built-in features of python, like static methods and class methods.

So I'm suggesting, don't use decorators for static and class methods. Perhaps for 2.5 or whenever, we should add keyword support for built-in features, just like java:

Now that's a -1 if I've ever seen one.

-bob



More information about the Python-Dev mailing list