[issue28524] Set default argument of logging.disable() to logging.CRITICAL

Raymond Hettinger report at bugs.python.org
Mon Oct 24 22:50:13 EDT 2016


Raymond Hettinger added the comment:

Given that a user can add their on levels, I think that having a default would be misleading (having no arguments implies total disabling but with custom levels the default of CRITICAL might not disable all messages).

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28524>
_______________________________________


More information about the Python-bugs-list mailing list