On 16 Apr 2005 23:06:10 -0700, [EMAIL PROTECTED] (Oren Tirosh) wrote:

>Take a look at Nick Coglan's "with" proposal:
>
>http://groups.google.co.uk/groups?selm=mailman.403.1105274631.22381.python-list%40python.org
>
>It addresses many of the same issues (e.g. easy definition of
>properties). It is more general, though: while your proposal only
>applies to keyword arguments in a function call this one can be used
>to name any part of a complex expression and define it in a suite.
>
>I think that a good hybrid solution would be to combine the "with"
>block with optional use of the ellipsis to mean "all names defined in
>the with block".
>
>See also the thread resulting from Andrey Tatarinov's original
>proposal (using the keyword "where"):
>
>http://groups.google.co.uk/groups?selm=3480qqF46jprlU1%40individual.net
>
Apologies for lack of attibution, Andrey. And I'm not sure I used your "where" 
properly just recently.
I added it to some other stuff in haste, without actually remembering exactly 
where it came from,
believe it or not, even though I got heavily into it in that thread. Somewhat 
disturbing memory lapse ;-/
I need some sleep ;-/

Regards,
Bengt Richter
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to