New submission from Anatoly <[email protected]>:
There isn't pickling of connection support now. Without this functionality is
not possible pass file descriptor (open socket actually) to another process. If
I try to import reduce_handle or rebuild_handle from multiprocessing.reduction
I
see following:
from multiprocessing.reduction import reduce_handle, rebuild_handle
File "/Users/avostryakov/python/pypy/lib-
python/2.7/multiprocessing/reduction.py", line 55, in <module>
raise ImportError('pickling of connections not supported')
When I looking in multiprocessing/reduction.py I see:
if not(sys.platform == 'win32' or hasattr(_multiprocessing, 'recvfd')):
raise ImportError('pickling of connections not supported')
So, There isn't 'recvfd' in _multiprocessing module.
----------
messages: 5980
nosy: pypy-issue, vostryakov
priority: bug
release: 2.1
status: unread
title: Pickling of connection support for Mac OSX and Linux
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1558>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue