Author nicdumz
Recipients docs@python, georg.brandl, kiilerix, neologix, nicdumz, pitrou
Date 2012-01-12.21:16:21
SpamBayes Score 2.28676e-09
Marked as misclassified No
Message-id <>
> It's the other end which decides to return ENOTCONN upon shutdown(SHUT_RD) on OS X, which is questionable
> (not sure it's against the BSD socket API, since shutdown(SHUT_RD) doesn't have any counterpart in the TCP layer).

Exactly. The same code raises a socket.error in one platform (mac os) and not on another (linux). Why not document this questionable behavior?

I'm sorry, I realize that my original patch was imprecise. I'm not an expert here, and I simply read . Ok, fine -- it doesn't close the other end per se, but shutdown(SH_RD) after a FIN on MacOS raises a socket.error . This is questionable, unexpected, and should be documented.

If possible, I'd like to push for a rewording instead of a revert.
Date User Action Args
2012-01-12 21:16:22nicdumzsetrecipients: + nicdumz, georg.brandl, pitrou, kiilerix, neologix, docs@python
2012-01-12 21:16:22nicdumzsetmessageid: <>
2012-01-12 21:16:21nicdumzlinkissue6774 messages
2012-01-12 21:16:21nicdumzcreate