Commit 4d046937 authored by Tres Seaver's avatar Tres Seaver

Drop the load-time equivalient of 'bytes_as_strings.

parent 7aabb799
...@@ -29,7 +29,7 @@ except ImportError: ...@@ -29,7 +29,7 @@ except ImportError:
class Unpickler(zodbpickle.pickle.Unpickler): class Unpickler(zodbpickle.pickle.Unpickler):
def __init__(self, f): def __init__(self, f):
super(Unpickler, self).__init__(f, encoding='ASCII', errors='bytes') super(Unpickler, self).__init__(f)
# Py3: Python 3 doesn't allow assignments to find_global, # Py3: Python 3 doesn't allow assignments to find_global,
# instead, find_class can be overridden # instead, find_class can be overridden
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment