On May 31, 2006, at 9:52 AM, Josiah Carlson wrote:

>
> Talin <[EMAIL PROTECTED]> wrote:
...
>> You're missing a crucial point: The whole idea of 'promise', as I
>> understand it, is that it works with functions that aren't  
>> expecting a
>> callable.
>
> So you use the 9-line promise that Alex posted.

I think a promise is an excellent use case.

Proxies, such as used by the solution Alex proposed, are very  
powerful, but can be very surprising.  Zope has years of experience  
with a variety of them.  A language solution that let the end result  
of a promise not be proxied would be much better than a proxy-based  
solution, at least if our experience with Python 2.x is any guide.

Gary
_______________________________________________
Python-3000 mailing list
[email protected]
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