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.

Author trent
Recipients trent
Date 2012-11-18.22:32:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1353277974.19.0.012295377293.issue16507@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2012-11-18 22:32:54trentsetrecipients: + trent
2012-11-18 22:32:54trentsetmessageid: <1353277974.19.0.012295377293.issue16507@psf.upfronthosting.co.za>
2012-11-18 22:32:54trentlinkissue16507 messages
2012-11-18 22:32:53trentcreate