select error 10093 on winxp

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Feb 10 02:00:49 EST 2009


En Tue, 10 Feb 2009 04:11:31 -0200, Ken <xie.kenneth at gmail.com> escribió:

> I was testing select on windows xp with python 2.6.1, the code is simple:

See the note in the documentation of module select:
http://docs.python.org/library/select.html#select.select

"Note: File objects on Windows are not acceptable, but sockets are. On  
Windows, the underlying select function is provided by the WinSock  
library, and does not handle file descriptors that don't originate from  
WinSock."

-- 
Gabriel Genellina




More information about the Python-list mailing list