[Python-Dev] Re: weakref callback vs gc vs threads

Fred L. Drake, Jr. fdrake at acm.org
Fri Oct 29 22:58:35 CEST 2004


On Friday 29 October 2004 04:22 pm, Neil Schemenauer wrote:
 > Non-trash weakrefs to trash objects MUST have their callbacks
 > invoked.  Trash weakrefs MUST NOT have their callbacks invoked.  Any
 > weakref to a trash object MUST NOT reveal the trash (i.e. via the
 > wr_object pointer).

Yes, that's right.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>



More information about the Python-Dev mailing list