Author grismar
Recipients grismar
Date 2016-09-28.07:08:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On line 556 of, the sys.stderr.write assumes that sys.stderr is assigned and not None.

However, when developing Windows services using the pypiwin32 library (as an example), sys.stderr == None

A workaround is to override the log_message method of the BaseHTTPRequestHandler, but it seems to me that the method should not assume the availability of stderr?
Date User Action Args
2016-09-28 07:08:24grismarsetrecipients: + grismar
2016-09-28 07:08:24grismarsetmessageid: <>
2016-09-28 07:08:24grismarlinkissue28294 messages
2016-09-28 07:08:24grismarcreate