[Python-Dev] Python Language Summit EuroPython 2010

Brett Cannon brett at python.org
Fri Jul 23 12:13:22 CEST 2010


On Thu, Jul 22, 2010 at 13:00, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Thu, 22 Jul 2010 08:51:57 +0100
> Brett Cannon <brett at python.org> wrote:
> >
> > That's an option. I just remember Tim bringing up something about that
> > approach that didn't quite work as a complete replacement for __del__.
> >
> > Basically the whole setting a module's globals to None was done before gc
> > came into the language. Now that it's there it seems that it might work
> to
> > simply let gc clean up the module itself.
>
> There is a patch at http://bugs.python.org/issue812369 for GC-based
> module shutdown, but it doesn't actually remove the setting of module
> globals to None. I think further testing and experimentation would be
> required to validate it.
>

Yep, it was agreed that for this to happen someone would have to write the
patch and see what broke.

-Brett


>
> Regards
>
> Antoine.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/brett%40python.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100723/06110d70/attachment.html>


More information about the Python-Dev mailing list