[issue12536] lib2to3 BaseFix class creates un-needed loggers leading to refleaks

Éric Araujo report at bugs.python.org
Wed Jul 13 16:24:06 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

If the logger attribute is part of the official API and Benjamin doesn’t think it wise to just remove it, I think we should either start deprecating it (using a property), or set it to a shared logger object instead of creating one per file.

----------

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


More information about the Python-bugs-list mailing list