On 4/18/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On 4/18/06, Jim Jewett <[EMAIL PROTECTED]> wrote:
> Do you realize that you are
> describing that the expression

>     .foo

> is syntactic sugar for
>
>     lambda self: self._foo()

Somehow I had it in my head that I needed to also call that lambda,
though I can't see why now.

> That's not what I would call a "symbol type" by any stretch of the
> imagination.

Roughly, it would do the same as your property-with-strings
enhancement, except that .foo would make it obvious that foo was a
name (found on .), rather than an arbitrary string.

I do see that as symbol-like, because it is a cross between a string
(the method isn't resolved immediately) and a name (unquoted, limited
to values that are valid for a name).

-jJ
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to