fix import of multiprocessing by juggling imports

This commit is contained in:
Benjamin Peterson 2008-06-11 12:26:31 +00:00
parent f0bc3cbdc0
commit e605e4f09a
2 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,6 @@ __author__ = 'R. Oudkerk (r.m.oudkerk@gmail.com)'
import os
import sys
import _multiprocessing
from multiprocessing.process import Process, current_process, active_children
#
@ -79,6 +78,9 @@ class TimeoutError(ProcessError):
class AuthenticationError(ProcessError):
pass
# This is down here because _multiprocessing uses BufferTooShort
import _multiprocessing
#
# Definitions not depending on native semaphores
#

View File

@ -16,13 +16,13 @@ import socket
import random
import logging
import _multiprocessing
import multiprocessing.dummy
import multiprocessing.connection
import multiprocessing.managers
import multiprocessing.heap
import multiprocessing.managers
import multiprocessing.pool
import _multiprocessing
from multiprocessing import util