A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-May/035698.html below:

[Python-Dev] test_urllibnet failing on Windows

[Python-Dev] test_urllibnet failing on Windows [Python-Dev] test_urllibnet failing on WindowsBrett C. drifty@alum.berkeley.edu
Fri, 16 May 2003 15:13:34 -0700
Tim Peters wrote:
>>...
>>The docs for fdopen say nothing about this restriction.  Anyone mind if
>>I add to the docs a mention of this limitation?
> 
> 
> AFAICT, you only asked me, so I'll answer <wink>:

Joys of missing the "reply all" button.  I am cc'ing python-dev on this now.

>  I think this is better
> spelled out in the docs for socket.fileno().  What it says now:
> 
>     Return the socket's file descriptor (a small integer).  This is
>     useful with select.select().
> 
> is correct for Unix, but on Windows it does not return a file descriptor (it
> returns a Windows socket handle, which is also "a small integer", and is
> also useful select.select() -- although on both Windows and Unix,
> select.select() extracts the fileno() from socket objects automatically, so
> there's no *need* to invoke fileno() explicitly in order to call select()).
> 

OK.  I will fix those docs.

-Brett




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4