This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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)
History
Date User Action Args
2008-09-13 12:02:21ocean-citysetrecipients: + ocean-city, amaury.forgeotdarc, vstinner, ajaksu2, roudkerk, jnoller
2008-09-13 12:02:20ocean-citysetmessageid: <1221307340.84.0.196788789146.issue3321@psf.upfronthosting.co.za>
2008-09-13 12:02:20ocean-citylinkissue3321 messages
2008-09-13 12:02:19ocean-citycreate