[Python-checkins] r87687 - python/branches/py3k/Lib/pydoc.py
victor.stinner
python-checkins at python.org
Mon Jan 3 17:12:39 CET 2011
Author: victor.stinner
Date: Mon Jan 3 17:12:39 2011
New Revision: 87687
Log:
pydoc: close the DocServer when done
Modified:
python/branches/py3k/Lib/pydoc.py
Modified: python/branches/py3k/Lib/pydoc.py
==============================================================================
--- python/branches/py3k/Lib/pydoc.py (original)
+++ python/branches/py3k/Lib/pydoc.py Mon Jan 3 17:12:39 2011
@@ -2112,6 +2112,7 @@
while not self.quit:
rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
if rd: self.handle_request()
+ self.server_close()
def server_activate(self):
self.base.server_activate(self)
@@ -2409,6 +2410,7 @@
rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
if rd:
self.handle_request()
+ self.server_close()
def server_activate(self):
self.base.server_activate(self)
More information about the Python-checkins
mailing list