[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag

Senthil Kumaran report at bugs.python.org
Mon Apr 26 12:57:44 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

On Mon, Apr 26, 2010 at 10:45:56AM +0000, Antoine Pitrou wrote:

> What do you mean? BaseHTTPRequestHandler is tested in test_httpservers.

I meant specifically for that function which is logging to sys.stderr.
No return values, state changes and no tests present in test_httpservers.
Seems to me the cli invokation scenario of the BaseHTTPServer module.

Only other place where fqdn look up happens is HTTPServer.server_bind
and in the setting of server_name, if any code is relying on it could
break.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6085>
_______________________________________


More information about the Python-bugs-list mailing list