homepage

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 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:05amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, vstinner, ajaksu2, roudkerk, jnoller
2008年09月13日 09:36:05amaury.forgeotdarcsetmessageid: <1221298565.57.0.0651033220947.issue3321@psf.upfronthosting.co.za>
2008年09月13日 09:36:04amaury.forgeotdarclinkissue3321 messages
2008年09月13日 09:36:04amaury.forgeotdarccreate

AltStyle によって変換されたページ (->オリジナル) /