[issue6615] multiprocessing logging support test

flox report at bugs.python.org
Tue Nov 24 20:23:49 CET 2009


flox <laxyf at yahoo.fr> added the comment:

I would think to use weak references in order to prevent such leaks.

With the patch attached, if the handler is not referenced anywhere, it
is closed.
However named handlers are not closed (because of hard reference in
_handlers dictionary).

----------
nosy: +flox
Added file: http://bugs.python.org/file15395/issue6615_weakref.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6615>
_______________________________________


More information about the Python-bugs-list mailing list