[issue44222] Improving _removeHandlerRef for a very long _handlerList
Yonatan Goldschmidt
report at bugs.python.org
Mon May 24 18:41:04 EDT 2021
Yonatan Goldschmidt <yon.goldschmidt at gmail.com> added the comment:
That system has many (>10k) objects of a certain type. Each of them has a separate Logger object + Handlers. That was done, among other reasons, to allow for easy consuming of the logs relating to a particular object in a file-based manner.
I agree that it's not common at all (other Python projects I've worked on don't exhibit this behavior) but since this change is harmless I thought we might as well make it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44222>
_______________________________________
More information about the Python-bugs-list
mailing list