[issue41483] Do not acquire lock in MemoryHandler.flush() if no target defined
Kostis Anagnostopoulos
report at bugs.python.org
Sun Oct 4 11:56:06 EDT 2020
Kostis Anagnostopoulos <ankostis at gmail.com> added the comment:
Have nothing else to say on top of what iritkatriel discovered, a double-check would be needed, but may be a pointless speed up, if MemoryHandler is impossible to work without a `target`.
Fixing the no-target error is more important. Actually that's how i came to notice this optimization.
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41483>
_______________________________________
More information about the Python-bugs-list
mailing list