[Python-Dev] PEP 318: Can't we all just get along? (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Aug 18 22:07:46 CEST 2004
- Previous message: [Python-Dev] PEP 318: Can't we all just get along?
- Next message: [Python-Dev] PEP 318: Can't we all just get along?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 318: Can't we all just get along?
- Next message: [Python-Dev] PEP 318: Can't we all just get along?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]