This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Cloudberry
Recipients Cloudberry
Date 2011-03-29.19:19:09
SpamBayes Score 9.597785e-09
Marked as misclassified No
Message-id <1301426349.91.0.210960527255.issue11711@psf.upfronthosting.co.za>
In-reply-to
Content
System where issue was reproduced is Ubuntu 10.04 32-bit with python 2.6.5

Expected behavior for socket.socketpair as per the docstring: "The arguments are the same as for socket() except the default family is AF_UNIX if defined on the platform; otherwise, the default is AF_INET."

Executing socket.socketpair() or socket.socketpair(socket.AF_UNIX) runs fine. However, executing socket.socketpair(socket.AF_INET) throws socket.error with Errno 95 "Operation not supported".

It seems either the docstring is off suggesting non-default family can be selected, or the AF_INET option is broken.
History
Date User Action Args
2011-03-29 19:19:09Cloudberrysetrecipients: + Cloudberry
2011-03-29 19:19:09Cloudberrysetmessageid: <1301426349.91.0.210960527255.issue11711@psf.upfronthosting.co.za>
2011-03-29 19:19:09Cloudberrylinkissue11711 messages
2011-03-29 19:19:09Cloudberrycreate