This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jonathan-lp
Recipients docs@python, jonathan-lp
Date 2019-07-11.14:14:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562854474.19.0.0872282470861.issue37563@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/2/library/logging.handlers.html
https://docs.python.org/3/library/logging.handlers.html

Both say:

"""class logging.StreamHandler(stream=None)

Returns a new instance of the StreamHandler class. If stream is specified, the instance will use it for logging output; otherwise, sys.stderr will be used."""

Surely that means from an user perspective that the default is actually `sys.stderr`, not `None`?
History
Date User Action Args
2019-07-11 14:14:34jonathan-lpsetrecipients: + jonathan-lp, docs@python
2019-07-11 14:14:34jonathan-lpsetmessageid: <1562854474.19.0.0872282470861.issue37563@roundup.psfhosted.org>
2019-07-11 14:14:34jonathan-lplinkissue37563 messages
2019-07-11 14:14:33jonathan-lpcreate