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. Advertising

  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. Advertising

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,565
    Magnus Lycka
    Aug 30, 2005
  2. inhahe

    select.poll() and WSAPoll

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

    Re: select.poll() and WSAPoll

    Jean-Paul Calderone, May 6, 2008, in forum: Python
    Replies:
    1
    Views:
    511
    Giles Brown
    May 6, 2008
  4. birdsong

    select.poll.poll() never blocks

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

    Re: select.poll.poll() never blocks

    Jean-Paul Calderone, Feb 12, 2009, in forum: Python
    Replies:
    3
    Views:
    436
    birdsong
    Feb 12, 2009
Loading...

Share This Page