__brace__ (PEP?)

Kay Schluehr kay.schluehr at gmx.net
Mon May 9 01:47:58 EDT 2005


Roy Smith wrote:

> foo->bar ==> foo.__arrrow__(bar)
> foo$bar ==> foo.__dollar__(bar)
> foo#bar ==> foo.__hash__(bar)
> foo::bar ==> foo.__scope__(bar)

I'm strongly in favor for the arrow ( but with two "r" only ). The
question is simply: for what?

> and so on down the list of non-alphanumeric characters, but the
result
> wouldn't be anything most of us would recognize as Python.

After many sleepless nights reading all the comments and flames about
@decorators I finally came up using them. 

Ciao,
Kay




More information about the Python-list mailing list