exar...@twistedmatrix.com, 22.10.2010 16:32:
Instances of classes don't refer to the module their class is defined
in. It seems more likely that the reason the module is garbage collected
is that there really is nothing which refers to it anymore.

The behavior of setting the attributes of a module being freed to None
has been in place for a long time, r85392 only restored it after a brief
absence.

Perhaps Cython itself should keep the modules alive that it wants kept
alive.

Given that this only happens during an install process, this works for me.

Thanks,

Stefan

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to