[Python-checkins] r64517 - in python/trunk/Lib/multiprocessing: managers.py process.py
benjamin.peterson
python-checkins at python.org
Wed Jun 25 05:09:05 CEST 2008
Author: benjamin.peterson
Date: Wed Jun 25 05:09:05 2008
New Revision: 64517
Log:
remove bytes alias in multiprocessing
Modified:
python/trunk/Lib/multiprocessing/managers.py
python/trunk/Lib/multiprocessing/process.py
Modified: python/trunk/Lib/multiprocessing/managers.py
==============================================================================
--- python/trunk/Lib/multiprocessing/managers.py (original)
+++ python/trunk/Lib/multiprocessing/managers.py Wed Jun 25 05:09:05 2008
@@ -33,15 +33,6 @@
from pickle import PicklingError
#
-#
-#
-
-try:
- bytes
-except NameError:
- bytes = str # XXX not needed in Py2.6 and Py3.0
-
-#
# Register some things for pickling
#
Modified: python/trunk/Lib/multiprocessing/process.py
==============================================================================
--- python/trunk/Lib/multiprocessing/process.py (original)
+++ python/trunk/Lib/multiprocessing/process.py Wed Jun 25 05:09:05 2008
@@ -26,11 +26,6 @@
except OSError:
ORIGINAL_DIR = None
-try:
- bytes
-except NameError:
- bytes = str # XXX not needed in Py2.6 and Py3.0
-
#
# Public functions
#
More information about the Python-checkins
mailing list