Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment:

I thought socket handle on BeOS is not file descripter neighter. (I'm
not sure BeOS is still supported or not)

>Another solution would be to reuse code from Modules/selectmodule.c.

You mean this code?

if (v < 0 || v >= FD_SETSIZE) {
        PyErr_SetString(PyExc_ValueError,
                    "filedescriptor out of range in select()");
        goto finally;
}

Cygwin's thread is somewhat troublesome, so I'm not sure I can test this
issue on cygwin but, (I'm now building python --with-threads) if clash
happens in conn_poll(_multiprocessing/connection.h)'s FD_SET, I think
this kind of check is needed... (At least safer)

----------
keywords:  -needs review
nosy: +ocean-city

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3321>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to