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.28768e-06
Marked as misclassified No
Message-id <>
In-reply-to <>
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
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...).
File name Uploaded
multiprocessing_fd-2.diff neologix, 2011-09-17.11:28:26
skip_reduction.diff neologix, 2011-09-17.11:28:26
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