[Python-Dev] SVN rev. 85392 broke module handling in py3k
stefan_ml at behnel.de
Fri Oct 22 16:58:00 CEST 2010
exarkun at 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
> Perhaps Cython itself should keep the modules alive that it wants kept
Given that this only happens during an install process, this works for me.
More information about the Python-Dev