mirror of
https://github.com/python/cpython.git
synced 2025-11-26 21:33:10 +00:00
remove bytes alias in multiprocessing
This commit is contained in:
parent
9c437af4eb
commit
aa164e1bd3
2 changed files with 0 additions and 14 deletions
|
|
@ -32,15 +32,6 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from pickle import PicklingError
|
from pickle import PicklingError
|
||||||
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
try:
|
|
||||||
bytes
|
|
||||||
except NameError:
|
|
||||||
bytes = str # XXX not needed in Py2.6 and Py3.0
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Register some things for pickling
|
# Register some things for pickling
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -26,11 +26,6 @@ try:
|
||||||
except OSError:
|
except OSError:
|
||||||
ORIGINAL_DIR = None
|
ORIGINAL_DIR = None
|
||||||
|
|
||||||
try:
|
|
||||||
bytes
|
|
||||||
except NameError:
|
|
||||||
bytes = str # XXX not needed in Py2.6 and Py3.0
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Public functions
|
# Public functions
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue