From aa164e1bd37cd620463126a5905de5f2e2057f39 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 25 Jun 2008 03:09:05 +0000 Subject: remove bytes alias in multiprocessing --- Lib/multiprocessing/managers.py | 9 --------- Lib/multiprocessing/process.py | 5 ----- 2 files changed, 14 deletions(-) diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py index fb705cb..f4da209 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -33,15 +33,6 @@ except ImportError: from pickle import PicklingError # -# -# - -try: - bytes -except NameError: - bytes = str # XXX not needed in Py2.6 and Py3.0 - -# # Register some things for pickling # diff --git a/Lib/multiprocessing/process.py b/Lib/multiprocessing/process.py index e1189cf..d5d3c40 100644 --- a/Lib/multiprocessing/process.py +++ b/Lib/multiprocessing/process.py @@ -26,11 +26,6 @@ try: except OSError: ORIGINAL_DIR = None -try: - bytes -except NameError: - bytes = str # XXX not needed in Py2.6 and Py3.0 - # # Public functions # -- cgit v0.12