socketpair() missing ?

Dave Brueck dave at pythonapocrypha.com
Fri May 2 12:27:37 EDT 2003


On Fri, 2 May 2003, Philippe Biondi wrote:

> It seems that the socketpair() function is missing from the standard
> python librairy.
>
> I there a reason ? Will it be integrated in future releases ?
> Am I missing something ?

Maybe it isn't supported on enough platforms, it varies too much by
platform, or maybe you're just the first person to want it. :) You could
submit a patch to SourceForge if nobody here pipes up with a good reason
for it not being in the socket module already.

And, in the meantime, you can use Pyrex/PyInline/ctypes or even a very
tiny C extension module to access that function.

-Dave





More information about the Python-list mailing list