Antoine Pitrou <pit...@free.fr> added the comment:

> Maybe there should be a special flag modules can set to make them get
> cleared later in the interpreter cleanup procedure.  Modules could set
> it if they don't create reference cycles themselves and don't hold
> references to user objects.

Or, perhaps we could remove the assignment to None and use a
finalization scheme based on the garbage collector instead.
See #812369 (no patch for the above idea unfortunately).

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5178>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to