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/2004-August/046842.html below:

[Python-Dev] Submitted socket.socketpair() patch to SF

[Python-Dev] Submitted socket.socketpair() patch to SF [Python-Dev] Submitted socket.socketpair() patch to SFDave Cole djc at object-craft.com.au
Thu Aug 5 04:18:42 CEST 2004
For the interested, I have just submitted patch #1003700 which 
implements the socketpair function in the socket module.

The patch is relative to 2.4a1.

There is a question in the patch summary:

Outstanding question is whether the family, type, proto arguments should 
be kwargs as per socket() function, or positional as per fromfd() 
function. If kwargs, then it is arguable that the fromfd() arguments 
should be changed (in another patch).

I noticed a couple of things in the documentation while implementing the 
patch:

1) The documentation for socket() does not make mention of the fact that 
all arguments are kwargs.

2) The documentation for fromfd() does not mention that it does a dup() 
on the supplied fd to create a socket object.

- Dave

-- 
http://www.object-craft.com.au
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