[New-bugs-announce] [issue28524] Set default argument of logging.disable() to logging.CRITICAL
Al Sweigart
report at bugs.python.org
Mon Oct 24 17:45:10 EDT 2016
New submission from Al Sweigart:
As a convenience, we could make the default argument for logging.disable()'s lvl argument as logging.CRITICAL. This would make disabling all logging messages:
logging.disable()
...instead of the more verbose:
logging.disable(logging.CRITICAL)
This one-line change is backwards compatible.
----------
components: Library (Lib)
files: default_critical.patch
keywords: patch
messages: 279341
nosy: Al.Sweigart
priority: normal
severity: normal
status: open
title: Set default argument of logging.disable() to logging.CRITICAL
type: enhancement
Added file: http://bugs.python.org/file45208/default_critical.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28524>
_______________________________________
More information about the New-bugs-announce
mailing list