Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7c251bbd
Commit
7c251bbd
authored
Aug 14, 2010
by
Brian Curtin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #9600. Don't use relative imports for _multiprocessing on Windows.
Same fix as #9513 on 3.x.
parent
77cb7ed4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
Lib/multiprocessing/connection.py
Lib/multiprocessing/connection.py
+1
-1
Lib/multiprocessing/forking.py
Lib/multiprocessing/forking.py
+1
-1
Lib/multiprocessing/heap.py
Lib/multiprocessing/heap.py
+1
-1
Lib/multiprocessing/reduction.py
Lib/multiprocessing/reduction.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/multiprocessing/connection.py
View file @
7c251bbd
...
...
@@ -173,7 +173,7 @@ if sys.platform != 'win32':
else
:
from
.
_multiprocessing
import
win32
from
_multiprocessing
import
win32
def
Pipe
(
duplex
=
True
):
'''
...
...
Lib/multiprocessing/forking.py
View file @
7c251bbd
...
...
@@ -150,7 +150,7 @@ else:
import
_subprocess
import
time
from
.
_multiprocessing
import
win32
,
Connection
,
PipeConnection
from
_multiprocessing
import
win32
,
Connection
,
PipeConnection
from
.util
import
Finalize
#try:
...
...
Lib/multiprocessing/heap.py
View file @
7c251bbd
...
...
@@ -26,7 +26,7 @@ __all__ = ['BufferWrapper']
if
sys
.
platform
==
'win32'
:
from
.
_multiprocessing
import
win32
from
_multiprocessing
import
win32
class
Arena
(
object
):
...
...
Lib/multiprocessing/reduction.py
View file @
7c251bbd
...
...
@@ -34,7 +34,7 @@ if not(sys.platform == 'win32' or hasattr(_multiprocessing, 'recvfd')):
if
sys
.
platform
==
'win32'
:
import
_subprocess
from
.
_multiprocessing
import
win32
from
_multiprocessing
import
win32
def
send_handle
(
conn
,
handle
,
destination_pid
):
process_handle
=
win32
.
OpenProcess
(
...
...
Misc/NEWS
View file @
7c251bbd
...
...
@@ -12,6 +12,8 @@ What's New in Python 2.6.6?
Library
-------
- Issue #9600: Don't use relative import for _multiprocessing on Windows.
- Issue #8688: Revert regression introduced in 2.6.6rc1 (making Distutils
recalculate MANIFEST every time).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment