Issues #10867: remove old cPickle imports from multiprocessing

This commit is contained in:
Jesse Noller 2009-01-18 19:44:02 +00:00
parent 38d54f7867
commit f70a538f20
3 changed files with 5 additions and 10 deletions

View file

@ -151,14 +151,10 @@ else:
import _subprocess
import time
from pickle import dump, load, HIGHEST_PROTOCOL
from ._multiprocessing import win32, Connection, PipeConnection
from .util import Finalize
#try:
# from cPickle import dump, load, HIGHEST_PROTOCOL
#except ImportError:
from pickle import load, HIGHEST_PROTOCOL
def dump(obj, file, protocol=None):
ForkingPickler(file, protocol).dump(obj)