Issue 517554: asyncore fails when EINTR happens in pol - Python tracker
Python Home About News Documentation Downloads Community Foundation Developer's Guide Issue Tracker Issues Search Random Issue Summaries Issues with patch Easy issues Stats User Administration User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue517554 ➜ This issue tracker has been migrated to GitHub , and is currently read-only . For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on 2002-02-14 15:32 by cesarb , last changed 2022-04-10 16:04 by admin . This issue is now closed . Files File name Uploaded Description Edit asyncore.patch cesarb , 2002-02-14 15:32 Fix for the problem Messages (2) msg9275 - (view) Author: Cesar Eduardo Barros (cesarb) Date: 2002-02-14 15:32 (submitting again -- this damn thing refused to accept my anonymous submission a few days ago) 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. Patch attached, tested with the python2.2 package in Debian testing. msg9276 - (view) Author: A.M. Kuchling (akuchling) * Date: 2002-03-08 18:20 Logged In: YES user_id=11375 Looking at it, this change seems obviously correct. Applied to CVS as rev. 1.29 of asyncore.py. Thanks!
History Date User Action Args 2022-04-10 16:04:59 admin set github: 36104 2002-02-14 15:32:40 cesarb create Supported by The Python Software Foundation , Powered by Roundup Copyright © 1990-2022, Python Software Foundation Legal Statements