Jim Fulton writes: > The asyncore main loop should check for this error in it's select > call and the select module should make this error easier to check > for. It might go better into the event_loop function, which I think of as a more user-serviceable part. [for example, the default loop vs. the one in medusa/event_loop.py that supports schedulable events] > I presume that this works in Python 1.6/2.0, but I > haven't tried it yet? > > This depends on the structure of select.error values > and requires that we get EINTR from somewhere. (What > should the value be on NT?) If it's a big problem, I guess we could use a different default event_loop() function for win32 vs. unix. > At a minimum, code like the above should be added to asyncore. > > Thoughts? This has been asked for several times, I agree it'd be nice to have at least a note in the docs.. -Sam
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4