[issue7978] SocketServer doesn't handle syscall interruption
report at bugs.python.org
Fri Apr 9 02:44:45 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
Ok, I think the wrapper approach is a good one. Now remains to decide whether it should stay private to socketserver or be exposed as a generic method (for example in the "os" module as proposed).
By the way, adding a patch would be nice, too. I'm not sure it what form it should be done; perhaps register a signal handler and trigger the signal from a sub-thread while the main thread is iterating in a select loop?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list