[issue43348] XMLRPC behaves strangely under pythonw, not under python
Tim Magee
report at bugs.python.org
Mon Mar 1 11:06:50 EST 2021
Tim Magee <python-ir at qkhx.uk> added the comment:
After a peep at the source I theorised that using logRequests=False when constructing the base class, SimpleXMLRPCServer. would see me right, and so it did.
When logRequests is True control ultimately passes to BaseHTTPRequestHandler.log_message which is a write to sys.stderr, meaning the code is unsuitable for running under pythonw.
This might be a special sort of https://bugs.python.org/issue38533 -- special because the code that offends pythonw is in the library.
Anyhow, now I know what the problem is I can work round it, and I'll leave it to you what to do with the ticket.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43348>
_______________________________________
More information about the Python-bugs-list
mailing list