[Python-Dev] PEP 318: Can't we all just get along?

"Martin v. Löwis" martin at v.loewis.de
Wed Aug 18 22:07:46 CEST 2004


Kevin Smith wrote:
> def classmethod foo(x, y, z):
>     pass
> 
> That's it.

Indeed, that is form F (5.13) in

http://www.python.org/moin/PythonDecorators

So this proposal is not new, and has the advantages
and disadvantages listed in the Wiki. The main reason
to reject it (AFAICT) is the similarity to monstrosities
such as "public final synchronized void foo()".

Regards,
Martin


More information about the Python-Dev mailing list