Antoine Pitrou <pit...@free.fr> added the comment: > See http://hg.python.org/cpython/file/tip/Lib/packaging/tests/support.py#l81
AFAIU, the problem is that 2to3 creates a whole new logger for each different file. So it's not about cleaning the handlers, but cleaning up the loggers as well. And logging (deliberately, according to Vinay) doesn't provide any API to destroy loggers (they are de facto eternal). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12167> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com