[issue6085] Logging in BaseHTTPServer.BaseHTTPRequestHandler causes lag
report at bugs.python.org
Mon Apr 26 23:28:51 CEST 2010
Charles-Francois Natali <neologix at free.fr> added the comment:
@santa4nt: You're correct, the cache is retained only from within the same handler: the other solution would be to keep the cache at the server level, but then you'd have to deal with the cache size (you don't want it to grow forever), and it seems a bit overkill. I just kept the FQDN resolution because the code seemed to do it on purpose, but I agree that if nothing relies on this behaviour, it might be as simple to remove the resolution altogether.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list