[issue16507] Patch selectmodule.c to support WSAPoll on Windows

Richard Oudkerk report at bugs.python.org
Tue Jan 22 16:00:56 CET 2013


Richard Oudkerk added the comment:

According to Alan Cox

    It's a design decision and a huge performance win. It's one of the areas
    where POSIX read in its strictest form cripples your performance.

See https://lkml.org/lkml/2011/6/18/103

> (For write ready, you can obviously have "spurious" notifications if
> you try to write more than what is available in the output socket
> buffer).

Wouldn't you just get a partial write (assuming an AF_INET, SOCK_STREAM socket)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16507>
_______________________________________


More information about the Python-bugs-list mailing list