Re: weak reference callback

2009-08-29 Thread Paul Pogonyshev
Christian Heimes wrote: > Paul Pogonyshev wrote: > > Hi, > > > > Is weak reference callback called immediately after the referenced > > object is deleted or at arbitrary point in time after that? I.e. is > > it possible to see a dead reference before the

weak reference callback

2009-08-29 Thread Paul Pogonyshev
Hi, Is weak reference callback called immediately after the referenced object is deleted or at arbitrary point in time after that? I.e. is it possible to see a dead reference before the callback is called? More formally, will this ever raise? callback_called = False def note_deletion (r