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 | nnorwitz |
|---|---|
| Recipients | alanmcintyre, gvanrossum, nnorwitz, schmir |
| Date | 2008年03月28日.06:39:52 |
| SpamBayes Score | 0.032433767 |
| Marked as misclassified | No |
| Message-id | <1206686396.48.0.295538087971.issue1503@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Ugh. The manpage for accept on Ubuntu 6.10 says: """ On Linux, the new socket returned by accept() does not inherit file status flags such as O_NONBLOCK and O_ASYNC from the listening socket. This behaviour differs from the canonical BSD sockets implementation. Portable programs should not rely on inheritance or non-inheritance of file status flags and always explicitly set all required flags on the socket returned from accept(). """ http://msdn2.microsoft.com/en-us/library/aa450277.aspx says that Windows (CE, but I assume all variants) are like BSD in that they inherit attributes. """The newly created socket is the socket that will handle the actual connection and has the same properties as socket s, including the asynchronous events registered with the WSAEventSelect function.""" I assume that means blocking behavior. I checked in r61993 which should fix the immediate problem with test_xmlrpc. I wonder if we should change socket to do the same thing for all platforms. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年03月28日 06:39:56 | nnorwitz | set | spambayes_score: 0.0324338 -> 0.032433767 recipients: + nnorwitz, gvanrossum, alanmcintyre, schmir |
| 2008年03月28日 06:39:56 | nnorwitz | set | spambayes_score: 0.0324338 -> 0.0324338 messageid: <1206686396.48.0.295538087971.issue1503@psf.upfronthosting.co.za> |
| 2008年03月28日 06:39:54 | nnorwitz | link | issue1503 messages |
| 2008年03月28日 06:39:53 | nnorwitz | create | |