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 grismar
Recipients grismar
Date 2016-09-28.07:08:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475046504.95.0.666561329413.issue28294@psf.upfronthosting.co.za>
In-reply-to
Content
On line 556 of server.py, 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?
History
Date User Action Args
2016-09-28 07:08:24grismarsetrecipients: + grismar
2016-09-28 07:08:24grismarsetmessageid: <1475046504.95.0.666561329413.issue28294@psf.upfronthosting.co.za>
2016-09-28 07:08:24grismarlinkissue28294 messages
2016-09-28 07:08:24grismarcreate