[issue9144] Import error for multiprocessing in 2.7rc2 on Windows

Martin v. Löwis report at bugs.python.org
Sat Jul 3 10:37:17 CEST 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

Here is the problem: there is no module multiprocessing._multiprocessing; _multiprocessing is a global module. However, multiprocessing/__init__.py imports _multiprocessing, providing multiprocessing._multiprocessing as a valid attribute. sys.modules['multiprocessing._multiprocessing'] is None.

Now, on Windows, for some reason,

from ._multiprocessing import win32

is used. In 2.6, this used to work. In 2.7, due to r81380, it stopped working (i.e. if I revert r81380, it works again). Adding Brett to the nosy list, as he made this change.

----------
nosy: +brett.cannon

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9144>
_______________________________________


More information about the Python-bugs-list mailing list