Author Al.Sweigart
Recipients Al.Sweigart
Date 2016-10-24.21:45:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477345510.5.0.68336976066.issue28524@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-10-24 21:45:10Al.Sweigartsetrecipients: + Al.Sweigart
2016-10-24 21:45:10Al.Sweigartsetmessageid: <1477345510.5.0.68336976066.issue28524@psf.upfronthosting.co.za>
2016-10-24 21:45:10Al.Sweigartlinkissue28524 messages
2016-10-24 21:45:10Al.Sweigartcreate