diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-04-24 20:56:57 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-04-24 20:56:57 (GMT) |
commit | 5438ed1572f5e379cac8b85ed2226101a1bfcacc (patch) | |
tree | bf6a9df1be40d5d3df6fbfcdee606d5a49fca273 /Lib/multiprocessing/__init__.py | |
parent | 9f478c021dc499b0d23ee418c0dcc6b5076524aa (diff) | |
download | cpython-5438ed1572f5e379cac8b85ed2226101a1bfcacc.zip cpython-5438ed1572f5e379cac8b85ed2226101a1bfcacc.tar.gz cpython-5438ed1572f5e379cac8b85ed2226101a1bfcacc.tar.bz2 |
Issue #4892: multiprocessing Connections can now be transferred over multiprocessing Connections.
Patch by Richard Oudkerk (sbt).
Diffstat (limited to 'Lib/multiprocessing/__init__.py')
-rw-r--r-- | Lib/multiprocessing/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/multiprocessing/__init__.py b/Lib/multiprocessing/__init__.py index e012440..28380e5 100644 --- a/Lib/multiprocessing/__init__.py +++ b/Lib/multiprocessing/__init__.py @@ -161,7 +161,9 @@ def allow_connection_pickling(): ''' Install support for sending connections and sockets between processes ''' - from multiprocessing import reduction + # This is undocumented. In previous versions of multiprocessing + # its only effect was to make socket objects inheritable on Windows. + import multiprocessing.connection # # Definitions depending on native semaphores |