]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[Bug #517554] When a signal happens during the select call in
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 8 Mar 2002 18:19:59 +0000 (18:19 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 8 Mar 2002 18:19:59 +0000 (18:19 +0000)
commitcc5f5b2686be248b7d78adfd5b15fba6a69ab7d1
treeab608d5aeedc9ce704b884b77fba4f3692cec26b
parent1bf71172f8e1acfce05d8443e3998c425974aeef
[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
Lib/asyncore.py