Message162498
| Author |
gregory.p.smith |
| Recipients |
gregory.p.smith |
| Date |
2012年06月07日.21:00:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339102803.48.0.0979109123526.issue15032@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Many random bits of the standard library were originally written using select.select. This is an ancient API that is available everywhere, but these days you'd be hard pressed to find _any_ system that does not implement the superior poll() API which does not suffer from the file descriptor limits problem of select().
A select.select() work-a-like should be possible to write that is implemented using poll.poll().
I am attaching my untested work in progress version of something like that as I don't have time to work on this further at the moment. Someone else can pick it up if desired. (sorry about the code being in Google style rather than PEP-8) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月07日 21:00:03 | gregory.p.smith | set | recipients:
+ gregory.p.smith |
| 2012年06月07日 21:00:03 | gregory.p.smith | set | messageid: <1339102803.48.0.0979109123526.issue15032@psf.upfronthosting.co.za> |
| 2012年06月07日 21:00:02 | gregory.p.smith | link | issue15032 messages |
| 2012年06月07日 21:00:02 | gregory.p.smith | create |
|