]> granicus.if.org Git - python/commit
Fix for SF bug 453099 -- select not defensive
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 29 Oct 2001 16:32:19 +0000 (16:32 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 29 Oct 2001 16:32:19 +0000 (16:32 +0000)
commitfbd5797eb7aa2f2e291a11081f5c5160614fdd45
tree257ffac513c26bc43da4bfad3ba6be9a3a986b3a
parent2836907bbb62272db4186d89e684108b90ded8fe
Fix for SF bug 453099 -- select not defensive
And SF patch 473223 -- infinite getattr loop

Wrap select() and poll() calls with try/except for EINTR.  If EINTR is
raised, treat as a response where no fd is ready.

In dispatcher constructor, make sure self.socket is always
initialized.
Lib/asyncore.py