select.poll and winXP

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Mar 21 03:10:03 CET 2007


En Tue, 20 Mar 2007 22:44:41 -0300, John Pote <johnpote at blueyonder.co.uk>  
escribió:

> I have the standard Python 2.4.4 windows download installed on my win XP
> box. But the poll class in module select is not available. The docs  
> indicate
> that it can work with windows as long as only sockets are used which is  
> fine
> for me.

On Windows you only have select.select

> Is there a reason it's not in the standard build, can I use it if I re
> compile the 'select' module from the source?

poll() is not implemented on Windows so unless you write a replacement,  
you won't gain anything just by recompiling.

-- 
Gabriel Genellina




More information about the Python-list mailing list