Decorator keyword options - brainstorming

Martin DeMello martindemello at yahoo.com
Sat Aug 21 15:36:22 EDT 2004


Steven Bethard <steven.bethard at gmail.com> wrote:
> Michael Sparks <michaels <at> rd.bbc.co.uk> writes:
> > One other thing that jumped out at me is that different syntaxes
> > probably work better using different keywords. (Partly why I've snipped
> > decorator syntaxes)
> 
> Yeah, I noticed that pretty quickly too.  It looks though, that, of the 
> suggestions requiring a keyword, only the J syntaxes are getting substantial 
> support.  If it seems reasonable to others here, I think we should assume that 
> when we're discussing keyword options here, we're aiming at keywords
> for the J syntaxes (and most probably J2).

I liked 'as:' for J2, but since that's earmarked...

with, using, having, applying, declare

martin



More information about the Python-list mailing list