New submission from Trent Nelson: Attached patch adds select.poll() support on Windows via WSAPoll.
It's hacky; I was curious to see whether or not it could be done, and whether or not tulip's pollster would work with it. It compiles and works, but doesn't play very nicely with tulip. Also, just about every lick of code that tests poll() does so in a UNIX-specific way, so it's hard to test. As with select, WSAPoll() will barf if you feed it anything other than SOCKETs (i.e. it doesn't work against non-socket file descriptors). ---------- files: wsapoll.patch keywords: patch messages: 175927 nosy: trent priority: normal severity: normal status: open title: Patch selectmodule.c to support WSAPoll on Windows Added file: http://bugs.python.org/file28038/wsapoll.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16507> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com