We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91cab8e commit 68126b0Copy full SHA for 68126b0
python_toolbox/pickle_tools.py
@@ -10,7 +10,7 @@
10
11
def compickle(thing):
12
'''Pickle `thing` and compress it using `zlib`.'''
13
- return zlib.compress(pickle_module.dumps(thing, protocol=2))
+ return zlib.compress(pickle_module.dumps(thing, protocol=5))
14
15
def decompickle(thing):
16
'''Unpickle `thing` after decompressing it using `zlib`.'''
0 commit comments