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/2013-August/128056.html below:

[Python-Dev] PEP 446: issue with sockets

[Python-Dev] PEP 446: issue with sockets [Python-Dev] PEP 446: issue with socketsRichard Oudkerk shibturn at gmail.com
Wed Aug 21 12:58:05 CEST 2013
On 21/08/2013 1:19am, Victor Stinner wrote:
> 2013/8/21 Guido van Rossum <guido at python.org>:
>> Also, are you sure the things returned by socket.fleno() are really Windows
>> handles? I thought they were some other artificial namespace used just by
>> sockets.
>
> (You know what? I know understand and love the UNIX concept
> "everything is file"!)
>
> I don't know if a socket handle is similar to file handles or if they
> are specials. At least, GetHandleInformation() and
> SetHandleInformation() functions, used by
> os.get/set_handle_inheritable(), accept socket handles.

Anti-virus software and firewalls can stop SetHandleInformation() from 
working properly on sockets:

 
http://stackoverflow.com/questions/12058911/can-tcp-socket-handles-be-set-not-inheritable

-- 
Richard

More information about the Python-Dev mailing list

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