[Python-checkins] CVS: python/dist/src/Lib asyncore.py,1.28,1.29
A.M. Kuchling
akuchling@users.sourceforge.net
Fri, 08 Mar 2002 10:20:02 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv22297
Modified Files:
asyncore.py
Log Message:
[Bug #517554] When a signal happens during the select call in
asyncore.poll, the select fails with EINTR, which the
code catches. However, the code fails to clear the
r/w/e arrays (like poll3 does), which means it acts as
if every descriptor had received all possible events.
Bug report and patch by Cesar Eduardo Barros
Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** asyncore.py 14 Dec 2001 16:15:11 -0000 1.28
--- asyncore.py 8 Mar 2002 18:19:59 -0000 1.29
***************
*** 81,84 ****
--- 81,85 ----
if err[0] != EINTR:
raise
+ r = []; w = []; e = []
if DEBUG: