[Patches] [ python-Patches-1003700 ] add socketpair function to
socket module
SourceForge.net
noreply at sourceforge.net
Thu Aug 5 04:09:10 CEST 2004
Patches item #1003700, was opened at 2004-08-05 02:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1003700&group_id=5470
Category: Modules
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Dave Cole (davecole)
Assigned to: Nobody/Anonymous (nobody)
Summary: add socketpair function to socket module
Initial Comment:
Adds a socketpair() function to the socketmodule.c.
The function returns two socket objects.
Contains some simple unit tests that check the return
value from socketpair is actually two functioning sockets.
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).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1003700&group_id=5470
More information about the Patches
mailing list