Jason Tackaberry wrote:
> On Fri, 2007-01-19 at 15:46 +0100, Dirk Meyer wrote:
>> Author: dmeyer
>> Date: Fri Jan 19 14:46:43 2007
>> New Revision: 2424
>> 
>> Modified:
>>    trunk/popcorn/src/backends/base.py
> [...]
>> -                self._property_callbacks[name] = func
>> +                self._property_callbacks[name] = weakref(func)
>
> You should use WeakCallback instead, because using kaa.weakref will also
> weakref non-methods (i.e. functions) which prevents the use of anonymous
> functions.

Can't happen in this case.


Dischi

-- 
He didn't look mad, but they never did.
        -- (Terry Pratchett, Strata)

Attachment: pgpWTGmo7rayN.pgp
Description: PGP signature

-------------------------------------------------------------------------
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

Reply via email to