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 vinay.sajip
Recipients docs@python, jonathan-lp, vinay.sajip
Date 2019-07-13.10:10:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563012651.26.0.956418690915.issue37563@roundup.psfhosted.org>
In-reply-to
Content
> the prose clearly say that the default is sys.stderr, however the code doesn't show that

Which code are you looking at? Here is the entirety of StreamHandler.__init__:

    def __init__(self, stream=None):
        """
        Initialize the handler.
        If stream is not specified, sys.stderr is used.
        """
        Handler.__init__(self)
        if stream is None:
            stream = sys.stderr
        self.stream = stream

> We users Do. Not. Care. about how wonderfully clever your implementation is, we care about how it actually works. Whatever Rube-Goldbergian implementation details there are behind the scenes are of no interest to us.

I'm not sure your tone is particularly constructive here. I don't regard the code you say you've read, reproduced above, is particularly Rube-Goldbergian, or even Heath-Robinsonish. And are you presuming to speak for all Python users here?

> Fine, lets try this another way - does anyone else have opinions on this?

As far as I can remember, you're the first person to bring this up since logging was added to Python in 2003. In all that time, no-one appears to have been confused by that prose, which has been there since pretty much the beginning, though there was a spelling change and a logging documentation reorganisation around 9 years ago.
History
Date User Action Args
2019-07-13 10:10:51vinay.sajipsetrecipients: + vinay.sajip, docs@python, jonathan-lp
2019-07-13 10:10:51vinay.sajipsetmessageid: <1563012651.26.0.956418690915.issue37563@roundup.psfhosted.org>
2019-07-13 10:10:51vinay.sajiplinkissue37563 messages
2019-07-13 10:10:50vinay.sajipcreate