The joys of weakrefs... references to instance methods (callbacks)

Magnus Lie Hetland mlh at vier.idi.ntnu.no
Mon Feb 11 13:24:09 EST 2002


In article <mailman.1013444540.5738.python-list at python.org>, Michael
Chermside wrote:
>Mike Fletcher writes:
> > [complicated workaround to annoying problem with "obvious and
> > pythonic" implementation of common design pattern]
>
>Ouch.
>
>I'm no expert, but I see your point, and can't beat your workaround. 
>Thanks for sharing.

I missed the original post, unfortunately... I'd just like to mention
that we have some workarounds for instance methods etc. and weakrefs
in the References module of Anygui (anygui.org).

>-- Michael Chermside

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org



More information about the Python-list mailing list