Message73172
| Author |
amaury.forgeotdarc |
| Recipients |
ajaksu2, amaury.forgeotdarc, jnoller, roudkerk, vstinner |
| Date |
2008年09月13日.09:36:04 |
| SpamBayes Score |
0.0007318688 |
| Marked as misclassified |
No |
| Message-id |
<1221298565.57.0.0651033220947.issue3321@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Note that Windows does not crash in such cases:
>>> import socket, _multiprocessing
>>> obj = _multiprocessing.Connection(44977608)
>>> obj.poll()
IOError: [Errno 10038] An operation was attempted on something that is
not a socket
>>> s = socket.socket()
>>> obj = _multiprocessing.Connection(s.fileno())
>>> obj.poll()
False
>>> s.close()
>>> obj.poll()
IOError: [Errno 10038] An operation was attempted on something that is
not a socket
So some "#ifndef MS_WINDOWS" should be enough... |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2008年09月13日 09:36:05 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, vstinner, ajaksu2, roudkerk, jnoller |
| 2008年09月13日 09:36:05 | amaury.forgeotdarc | set | messageid: <1221298565.57.0.0651033220947.issue3321@psf.upfronthosting.co.za> |
| 2008年09月13日 09:36:04 | amaury.forgeotdarc | link | issue3321 messages |
| 2008年09月13日 09:36:04 | amaury.forgeotdarc | create |
|