[Python-Dev] Re: A syntax for function attributes?

Eric S. Raymond esr@thyrsus.com
Thu, 31 Jul 2003 16:18:23 -0400

Zack Weinberg <zack@codesourcery.com>:
> I.e. allow a dictionary constructor expression between the argument
> list and the colon; this initializes the property dictionary of the
> code object.  One could stick a call to spark.rule() in there, or have
> a metaclass do it automatically.
> This allows the square bracket notation to be reserved for
> [classmethod] and the like.  I suppose there's nothing stopping square
> brackets from being used for both, but I like having consistency with
> other dictionary constructor expressions.

I like this argument.  +1.
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>