[issue3125] test_multiprocessing causes test_ctypes to fail

Thomas Heller report at bugs.python.org
Wed Jun 18 20:13:46 CEST 2008


Thomas Heller <theller at ctypes.org> added the comment:

roudkerk schrieb:
> roudkerk <r.m.oudkerk at gmail.com> added the comment:
> 
> This patch to sharedctypes should fix the problem by adding a
> __reduce_ex__() method to a shared ctype object instead of using copy_reg.

I can confirm that the patch fixes the problem on Windows (running test_ctypes
before test_multiprocessing).

However, the patch did not apply cleanly to current SVN trunk - I had to manually
patch the code.  I'll attach the patch that I have now when I run 'svn diff' as
multiprocessing.patch (hope it works, sending as email attachment).

Added file: http://bugs.python.org/file10654/multiprocessing.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3125>
_______________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: multiprocessing.patch
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20080618/edba1e58/attachment.txt>


More information about the Python-bugs-list mailing list