Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > select.poll() and WSAPoll

Reply
Thread Tools

select.poll() and WSAPoll

 
 
inhahe
Guest
Posts: n/a
 
      05-06-2008
select.poll isn't supported on Windows, because Windows doesn't have such a
feature, or at least it didn't until Vista. Vista implements the same thing
but called WSAPoll, an article is here
http://blogs.msdn.com/wndp/archive/2...6/WSAPoll.aspx
I hope that the next edition of Python supports select.poll on Vista, or at
least that someone writes a third-party module fo it. As much as I'd love to
do it myself, it's probably beyond me.. i've never used poll before nor
written a Python extension. also, i don't have Vista.
Thanks



 
Reply With Quote
 
 
 
 
Christian Heimes
Guest
Posts: n/a
 
      05-06-2008
inhahe schrieb:
> select.poll isn't supported on Windows, because Windows doesn't have such a
> feature, or at least it didn't until Vista. Vista implements the same thing
> but called WSAPoll, an article is here
> http://blogs.msdn.com/wndp/archive/2...6/WSAPoll.aspx
> I hope that the next edition of Python supports select.poll on Vista, or at
> least that someone writes a third-party module fo it. As much as I'd love to
> do it myself, it's probably beyond me.. i've never used poll before nor
> written a Python extension. also, i don't have Vista.


Python 2.6 and 3.0 doesn't have support for WSAPoll so far. I don't have
Vista on my dev box so I can't add WSAPoll as I've added epoll and
kqueue for 2.6.

I don't think we can officially support WPAPoll since Python 2.6 is
suppose to run on Windows 2000 and XP, too.

Christian

 
Reply With Quote
 
 
 
 
inhahe
Guest
Posts: n/a
 
      05-06-2008

> I don't think we can officially support WPAPoll since Python 2.6 is
> suppose to run on Windows 2000 and XP, too.
>
> Christian
>


Oh, yeah, I was wondering about that, since there aren't separate
distributions of Python for Vista vs. XP etc. But I wonder if Python could
just give an attribute error, or perhaps some other error, for select.poll
if it's not running on Vista, perhaps some kind of run-time detection if
it's vista or if wsapoll is available? or even an installation time thing?
Since there's nothing promising that select.poll will work on windows
anyway. or does it just not work like that? :e

although a third party module would be nice too (if anyone out there has
vista..


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: select.poll() and WSAPoll Jean-Paul Calderone Python 1 05-06-2008 03:44 PM
if and and vs if and,and titi VHDL 4 03-11-2007 05:23 AM



Advertisments