Author: guido.van.rossum
Date: Tue Aug 21 05:36:47 2007
New Revision: 57237
Modified:
python/branches/py3k/Lib/test/test_urllib2_localnet.py
Log:
Fix fallout from making __private variables in threading.py _protected.
(Maybe we need to pick less obvious names for some of those?)
Modified: python/branches/py3k/Lib/test/test_urllib2_localnet.py
==============================================================================
--- python/branches/py3k/Lib/test/test_urllib2_localnet.py (original)
+++ python/branches/py3k/Lib/test/test_urllib2_localnet.py Tue Aug 21
05:36:47 2007
@@ -42,7 +42,7 @@
def __init__(self, request_handler):
threading.Thread.__init__(self)
- self._stop = False
+ self._stop_server = False
self.ready = threading.Event()
request_handler.protocol_version = "HTTP/1.0"
self.httpd = LoopbackHttpServer(('127.0.0.1', 0),
@@ -55,13 +55,13 @@
"""Stops the webserver if it's currently running."""
# Set the stop flag.
- self._stop = True
+ self._stop_server = True
self.join()
def run(self):
self.ready.set()
- while not self._stop:
+ while not self._stop_server:
self.httpd.handle_request()
# Authentication infrastructure
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins