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 neologix
Recipients neologix, vstinner
Date 2011年09月17日.11:28:28
SpamBayes Score 3.2876765e-06
Marked as misclassified No
Message-id <CAH_1eM1Ke9CPFgqCxSrp3gpwYtbtYbArO86t6wpv-9Rt2Qdm9Q@mail.gmail.com>
In-reply-to <1316244165.91.0.602351552812.issue12981@psf.upfronthosting.co.za>
Content
Here's a patch taking into account the fact that
multiprocessing.reduction might not be available and importing it can
raise an ImportError (which is already the case with the C
implementation, but multiprocessing.reduction tests have been added
recently to test_multiprocessing), e.g. if the OS doesn't support FD
passing.
With this patch, the pure Python version can be applied, and passes on
Linux, FreeBSD, OS X, Windows and OpenSolaris (except that it's not
available on OpenSolaris until issue #12999 gets fixed).
I also slightly modified the struct format used in the pure Python
version to make sure the length is sent as a a native int ("@i")
instead of a standardized int ("=i"), which might break if sizeof(int)
!= 4 (not sure there are many ILP64 architectures out there, but you
never know...).
Files
File name Uploaded
multiprocessing_fd-2.diff neologix, 2011年09月17日.11:28:26
skip_reduction.diff neologix, 2011年09月17日.11:28:26
History
Date User Action Args
2011年09月17日 11:28:29neologixsetrecipients: + neologix, vstinner
2011年09月17日 11:28:28neologixlinkissue12981 messages
2011年09月17日 11:28:28neologixcreate

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