[Python-Dev] SVN rev. 85392 broke module handling in py3k (original) (raw)
Stefan Behnel stefan_ml at behnel.de
Fri Oct 22 16:58:00 CEST 2010
- Previous message: [Python-Dev] SVN rev. 85392 broke module handling in py3k
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 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
- Previous message: [Python-Dev] SVN rev. 85392 broke module handling in py3k
- Next message: [Python-Dev] Summary of Python tracker Issues
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]