From aa164e1bd37cd620463126a5905de5f2e2057f39 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 25 Jun 2008 03:09:05 +0000 Subject: [PATCH] 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 fb705cb690..f4da209fa6 100644 --- a/Lib/multiprocessing/managers.py +++ b/Lib/multiprocessing/managers.py @@ -32,15 +32,6 @@ try: 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 e1189cff78..d5d3c40152 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 # -- 2.50.1