A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-July/037381.html below:

A syntax for function attributes?

[Python-Dev] Re: A syntax for function attributes? [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>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4