On Tue, 2007-01-23 at 10:54 +0100, Dirk Meyer wrote: > Da we need that extra callback? __call__ in WeakCallback should return > False when the callback is invalid and we could remove the callback on > next emit. Yes, I know it would not be 100% right because __len__ > returns something wrong, but it would avoid creating an extra > callback object.
I prefer to be correct. There is room for optimization but it can be found in other places (probably in WeakCallback itself). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel