]> granicus.if.org Git - python/commitdiff
remove bytes alias in multiprocessing
authorBenjamin Peterson <benjamin@python.org>
Wed, 25 Jun 2008 03:09:05 +0000 (03:09 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 25 Jun 2008 03:09:05 +0000 (03:09 +0000)
Lib/multiprocessing/managers.py
Lib/multiprocessing/process.py

index fb705cb690a66435bd1d70e6953d47d6f24ad452..f4da209fa61e12a97c8292249b96aed5b41ae72b 100644 (file)
@@ -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
 #
index e1189cff78214eef4999c653d0cc6bcd4554ec21..d5d3c401523acca8ebcbfe6f4ec62faca38cf7b8 100644 (file)
@@ -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
 #