[Python-Dev] Module cleanup improvement

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 23 02:42:27 CEST 2007


Armin Rigo wrote:
> if we consider a
> CPython in which the cycle GC has been disabled by the user, then many
> __del__'s would not be called any more at interpreter shutdown.

That can happen now anyway. Module clearing only cleans up
cycles that go through the module dict.

+1 from me on getting rid of module clearing at shutdown.

--
Greg


More information about the Python-Dev mailing list