New submission from Gregory P. Smith <g...@krypto.org>:

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)

----------
files: poll_select-gps001.txt
messages: 162498
nosy: gregory.p.smith
priority: normal
severity: normal
status: open
title: Provide a select.select implemented using select.poll
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file25861/poll_select-gps001.txt

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to