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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28524>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to