[pypy-svn] r77798 - pypy/branch/fast-forward/pypy/module/_multiprocessing
afa at codespeak.net
afa at codespeak.net
Mon Oct 11 17:52:45 CEST 2010
Author: afa
Date: Mon Oct 11 17:52:43 2010
New Revision: 77798
Modified:
pypy/branch/fast-forward/pypy/module/_multiprocessing/interp_connection.py
Log:
multiprocessing Connection objects need to be picklable
Modified: pypy/branch/fast-forward/pypy/module/_multiprocessing/interp_connection.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/_multiprocessing/interp_connection.py (original)
+++ pypy/branch/fast-forward/pypy/module/_multiprocessing/interp_connection.py Mon Oct 11 17:52:43 2010
@@ -290,6 +290,7 @@
W_FileConnection.typedef = TypeDef(
'Connection', W_BaseConnection.typedef,
__new__ = interp2app(W_FileConnection.descr_new_file.im_func),
+ __module__ = '_multiprocessing',
fileno = interp2app(W_FileConnection.fileno),
)
@@ -407,5 +408,6 @@
W_PipeConnection.typedef = TypeDef(
'PipeConnection', W_BaseConnection.typedef,
__new__ = interp2app(W_PipeConnection.descr_new_pipe.im_func),
+ __module__ = '_multiprocessing',
fileno = interp2app(W_PipeConnection.fileno),
)
More information about the Pypy-commit
mailing list