Leif K-Brooks <[EMAIL PROTECTED]> writes:

> Mike Meyer wrote:
>> They do have a first-class function-like object called an agent. But
>> to use a standard method as an agent, you have to wrap it.
>
> Just curious, but how does a method get wrapped in an agent if methods
> aren't first-class objects? Subclassing the agent base class with a
> new run method or something?

No, an  agent deals with the method. All you can do with methods are
invoke them, are wrap them as agents. No assignment or creation of
subobjects of the function or anything like that.

           <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>                  http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to