Author socketpair
Recipients amaury.forgeotdarc, pitrou, santoso.wijaya, socketpair, vstinner
Date 2011-11-01.16:56:43
SpamBayes Score 5.54634e-06
Marked as misclassified No
Message-id <1320166604.48.0.520699842693.issue12939@psf.upfronthosting.co.za>
In-reply-to
Content
> Why do you think it makes a difference?
Because adding one more dependency on unneeded libraries add the pain. Also it limit us on very restricted API of that wrapper. Windows native API is stable. So it's OK to rely on it's documented imlementation.

Suppose, we receive file-descriptor from _open_osfhandle.... For example it is a socket. It still unusable for stdin. Many standard functions does not work with such handle. The list of available functions : http://msdn.microsoft.com/en-us/library/kdfaxaay.aspx . As we see it is very narrow and function names are not POSIX-compatible (_chsize vs ftruncate). Documentation is very poor. For example, _close() is documented only here: http://msdn.microsoft.com/en-US/library/40bbyw78(v=VS.80).aspx .
History
Date User Action Args
2011-11-01 16:56:44socketpairsetrecipients: + socketpair, amaury.forgeotdarc, pitrou, vstinner, santoso.wijaya
2011-11-01 16:56:44socketpairsetmessageid: <1320166604.48.0.520699842693.issue12939@psf.upfronthosting.co.za>
2011-11-01 16:56:43socketpairlinkissue12939 messages
2011-11-01 16:56:43socketpaircreate