diff options
author | Jesse Noller <jnoller@gmail.com> | 2009-01-18 19:44:02 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2009-01-18 19:44:02 (GMT) |
commit | f70a538f20c7113ee989c9f4663c7c2b34e62f26 (patch) | |
tree | f823f18f654816046c2a2a372ef1f6bd07f51612 /Lib/multiprocessing/managers.py | |
parent | 38d54f7867843c7661eee244e19cf8c27ea7c3f1 (diff) | |
download | cpython-f70a538f20c7113ee989c9f4663c7c2b34e62f26.zip cpython-f70a538f20c7113ee989c9f4663c7c2b34e62f26.tar.gz cpython-f70a538f20c7113ee989c9f4663c7c2b34e62f26.tar.bz2 |
Issues #10867: remove old cPickle imports from multiprocessing
Diffstat (limited to 'Lib/multiprocessing/managers.py')
-rw-r--r-- | Lib/multiprocessing/managers.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index f895c12..78c1fe7 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -21,16 +21,12 @@ import array import queue from traceback import format_exc +from pickle import PicklingError from multiprocessing import Process, current_process, active_children, Pool, util, connection from multiprocessing.process import AuthenticationString from multiprocessing.forking import exit, Popen, assert_spawning, ForkingPickler from multiprocessing.util import Finalize, info -try: - from cPickle import PicklingError -except ImportError: - from pickle import PicklingError - # # Register some things for pickling # |