Message73177
| Author |
ocean-city |
| Recipients |
ajaksu2, amaury.forgeotdarc, jnoller, ocean-city, roudkerk, vstinner |
| Date |
2008年09月13日.12:02:18 |
| SpamBayes Score |
4.652168e-09 |
| Marked as misclassified |
No |
| Message-id |
<1221307340.84.0.196788789146.issue3321@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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) |
|