weak reference to bound method

Ole Streicher ole-usenet-spam at gmx.net
Fri Oct 2 13:54:20 CEST 2009


Hello Peter,

Peter Otten <__peter__ at web.de> writes:
>> What I want is to have a universal class that "always" works: with
>> unbound functions, with bound function, with lambda expressions, with
>> locally defined functions,

> That's left as an exercise to the reader ;)

Do you have the feeling that there exists any reader that is able to
solve this exercise? :-)

I am a bit surprised that already such a simple problem is virtually
unsolvable in python. Do you think that my concept of having a DoAsync
class is wrong?

Best regards

Ole



More information about the Python-list mailing list