Svante Signell, le Wed 13 Feb 2013 00:17:21 +0100, a écrit :
> The behavior of these macros is undefined if the fd argument is less
> than 0 or greater than or equal to FD_SETSIZE, or if fd is not a valid
> file descriptor, or if any of the arguments are expressions with
> side-effects.

Ok, so FD_SETSIZE is indeed not a safe bet for python.

That doesn't mean that we should not support it nicely.

It could be checked what behavior the Linux kernel actually has.

Samuel

Reply via email to