[Python-Dev] PEP 246: lossless and stateless

Alex Martelli aleax at aleax.it
Sat Jan 15 10:35:30 CET 2005


On 2005 Jan 15, at 02:30, Phillip J. Eby wrote:

> is requested.  It's too bad Python doesn't have some sort of 
> deallocation hook you could use to get notified when an object goes 
> away.  Oh well.

For weakly referenceable objects, it does.  Giving one to other objects 
would be almost isomorphic to making every object weakly referenceable, 
wouldn't it?  Or am I missing something...?


Alex



More information about the Python-Dev mailing list