Call for signatories for J2

Paul Rubin http
Thu Aug 26 22:54:36 CEST 2004


aleaxit at yahoo.com (Alex Martelli) writes:
> I think a keyword that's ALREADY a keyword has been almost ignored,
> though people occasionally did mention it re decorators: 'as'.  I'd love
> to see 'as' used as THE decorator keyword.  personally I'd prefer
> 'def as classmethod foo(...):'
> followed by

How do you handle the other proposed uses of decorators, e.g. type
declarations?

    def foo as int (a as string, b as int):
      ...

seems pretty awful to me.



More information about the Python-list mailing list