Message4095

Author amak
Recipients amak, cartman
Date 2009-01-28.13:15:04
SpamBayes Score 1.9284405e-06
Marked as misclassified No
Message-id <1233148505.28.0.758551595189.issue1251@psf.upfronthosting.co.za>
In-reply-to
Content
This is expected behaviour.

On java, and thus on jython, *only* sockets can be selected upon.

Files *cannot* be selected upon, because the FileChannels underlying
"file descriptors" on jython do not subclass
java.nio.channels.SelectableChannel.

I have updated the documentation on the select module wiki page to make
this more explicitly clear.

http://wiki.python.org/jython/SelectModule#Onlysocketscanbemultiplexed.2CnotfilesoranyotherIOchannel
History
Date User Action Args
2009-01-28 13:15:05amaksetmessageid: <1233148505.28.0.758551595189.issue1251@psf.upfronthosting.co.za>
2009-01-28 13:15:05amaksetrecipients: + amak, cartman
2009-01-28 13:15:05amaklinkissue1251 messages
2009-01-28 13:15:04amakcreate