select.select for non-sockets in win2k

Fredrik Lundh fredrik at pythonware.com
Tue Jul 16 13:41:47 EDT 2002


Martin Sjögren wrote:

> > Is there still no select.select function that works with non-sockets
> > like the object returned by os.popen()?
>
> AFAIK, this is a limitation (for better or for worse) in Windows. It's
> not a limitation in Python.

it's a limitation in the select implementation on Windows.

Windows has other mechanisms for asynchronous I/O, but it would
probably take a rather extensive rewrite of Python's I/O system to
be able to take full advantage of them.

(dunno how much of this the win32 extensions support, but I'm sure
Mark knows...)

</F>





More information about the Python-list mailing list