summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-06-25 03:09:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-06-25 03:09:05 (GMT)
commitaa164e1bd37cd620463126a5905de5f2e2057f39 (patch)
treee14d60b81e8dc2af849401602d537a3da39de43c /Lib/multiprocessing
parent9c437af4ebd832d913b85bfb2e666d55565c3665 (diff)
downloadcpython-aa164e1bd37cd620463126a5905de5f2e2057f39.zip
cpython-aa164e1bd37cd620463126a5905de5f2e2057f39.tar.gz
cpython-aa164e1bd37cd620463126a5905de5f2e2057f39.tar.bz2
remove bytes alias in multiprocessing
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r--Lib/multiprocessing/managers.py9
-rw-r--r--Lib/multiprocessing/process.py5
2 files changed, 0 insertions, 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
#