select.poll and winXP

Discussion in 'Python' started by John Pote, Mar 21, 2007.

  1. John Pote

    John Pote Guest

    Hi all,

    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.

    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?

    Thanks for any help anyone can give

    John
     
    John Pote, Mar 21, 2007
    #1
    1. Advertisements

  2. En Tue, 20 Mar 2007 22:44:41 -0300, John Pote <>
    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
     
    Gabriel Genellina, Mar 21, 2007
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Magnus Lycka

    Problem with select.poll and popen2

    Magnus Lycka, Aug 30, 2005, in forum: Python
    Replies:
    1
    Views:
    2,733
    Magnus Lycka
    Aug 30, 2005
  2. Maxim Veksler

    Non blocking sockets with select.poll() ?

    Maxim Veksler, May 4, 2007, in forum: Python
    Replies:
    0
    Views:
    475
    Maxim Veksler
    May 4, 2007
  3. inhahe

    select.poll() and WSAPoll

    inhahe, May 6, 2008, in forum: Python
    Replies:
    2
    Views:
    639
    inhahe
    May 6, 2008
  4. Jean-Paul Calderone

    Re: select.poll() and WSAPoll

    Jean-Paul Calderone, May 6, 2008, in forum: Python
    Replies:
    1
    Views:
    684
    Giles Brown
    May 6, 2008
  5. Samuel Bayer

    select.poll in MacOS Leopard?

    Samuel Bayer, Jun 5, 2008, in forum: Python
    Replies:
    0
    Views:
    451
    Samuel Bayer
    Jun 5, 2008
  6. birdsong

    select.poll.poll() never blocks

    birdsong, Feb 12, 2009, in forum: Python
    Replies:
    2
    Views:
    642
    birdsong
    Feb 12, 2009
  7. Jean-Paul Calderone

    Re: select.poll.poll() never blocks

    Jean-Paul Calderone, Feb 12, 2009, in forum: Python
    Replies:
    3
    Views:
    665
    birdsong
    Feb 12, 2009
  8. palmiere
    Replies:
    1
    Views:
    696
    Erwin Moller
    Feb 9, 2004
Loading...