[Python-Dev] Assign to errno allowed?

Guido van Rossum guido@python.org
Tue, 24 Sep 2002 12:23:16 -0400

> select on windows is very limited. It is only allowed to be called
> with socket handles. You cannot use C RTL fd with it or another sort
> of handle.
> Because its part of winsock and not part of the C RTL so it cannot mess
> with errno itself.

Yes I know.

> > HAVE_SELECT is the first thing tested in floatsleep().
> HAVE_SELECT should probably be undefined on windows. With the expection
> that the sockets module for windows can use it.

Sorry, floatsleep() on Windows doesn't ever get to testing
HAVE_SELECT.  So no worry, that part at least works.

--Guido van Rossum (home page: http://www.python.org/~guido/)