[issue13749] socketserver can't stop
Daniel Swanson
report at bugs.python.org
Fri Apr 6 20:37:25 CEST 2012
Daniel Swanson <popcorn.tomato.dude at gmail.com> added the comment:
what about this?
def __init__(...):
...
self.stop = False
while True:
(do stuff)
if self.stop: break
def quit(or whatever it's called): self.stop = True
That would work without the backwards copatability issue right?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13749>
_______________________________________
More information about the Python-bugs-list
mailing list