[Zope-Checkins] CVS: Zope/ZServer/medusa - asyncore.py:1.20
Guido van Rossum
guido@python.org
Sun, 10 Nov 2002 20:00:20 -0500
Update of /cvs-repository/Zope/ZServer/medusa
In directory cvs.zope.org:/tmp/cvs-serv28563
Modified Files:
asyncore.py
Log Message:
Add the same fix to poll() that was made in Python 2.3 and
ThreadedAsync/LoopCallback.py: when select() is interrupted by a
signal handler, don't attempt to read all file descriptors.
=== Zope/ZServer/medusa/asyncore.py 1.19 => 1.20 ===
--- Zope/ZServer/medusa/asyncore.py:1.19 Thu Jun 20 09:40:02 2002
+++ Zope/ZServer/medusa/asyncore.py Sun Nov 10 20:00:19 2002
@@ -80,6 +80,8 @@
except select.error, err:
if err[0] != EINTR:
raise
+ else:
+ return
if DEBUG:
print r,w,e