diff options
author | Timo Furrer <tuxtimo@gmail.com> | 2018-06-01 09:29:46 +0200 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2018-06-01 08:29:46 +0100 |
commit | 6e3ca645e71dd021fead5a70dc06d9b663612e3a (patch) | |
tree | b518e8e15dba48672a1624b5822aec6ffd25ac8a /Lib/test/pythoninfo.py | |
parent | 9e24930dfdc28e16dabbfd7dd1ead1336b7b0d6c (diff) | |
download | cpython-git-6e3ca645e71dd021fead5a70dc06d9b663612e3a.tar.gz |
bpo-33606: improve logging performance when logger is disabled (GH-7285)
A check has been added in Logger.isEnabledFor() to return False when the logger is disabled. This avoids unnecessary work being done when a disabled logger is used.
Diffstat (limited to 'Lib/test/pythoninfo.py')
0 files changed, 0 insertions, 0 deletions