[Twisted-Python] cleanup in twisted

Anthony Baxter anthony at interlink.com.au
Mon May 23 10:58:17 MDT 2005


On Monday 23 May 2005 19:56, Jp Calderone wrote:
>   A non-simple way to resolve it is to use weakref callbacks instead of
> __del__.  Weakref callbacks have some nasty bugs in versions of Python
> older than 2.3.5 (more, the further back you go), and they're trickier to
> use than __del__.  They don't create garbage cycles, though.

Which reminds me that I should try and make that patch that removes 
deferred's __del__ method and replaces it with a weakref work... 

Anthony

-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.




More information about the Twisted-Python mailing list