Author vstinner
Recipients neologix, pitrou, pturing, python-dev, sbt, vstinner
Date 2014-07-24.08:01:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I don't remember why I added a specific check on the proto parameter.

I tested on Windows: socket.socket(proto=1) raises an OSError(WSAEPROTONOSUPPORT):

WSAEPROTONOSUPPORT 10043: Protocol not supported.

The requested protocol has not been configured into the system, or no implementation for it exists. For example, a socket call requests a SOCK_DGRAM socket, but specifies a stream protocol.

Since the error comes directly at socket.socket(), we drop drop the explicit test in socketpair().
Date User Action Args
2014-07-24 08:01:44vstinnersetrecipients: + vstinner, pitrou, neologix, python-dev, sbt, pturing
2014-07-24 08:01:44vstinnersetmessageid: <>
2014-07-24 08:01:44vstinnerlinkissue18643 messages
2014-07-24 08:01:44vstinnercreate