File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
graalpython/lib-graalpython/patches/cloudpickle/whl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ index 317be69..4e409e4 100644
12
12
op = instr.opcode
13
13
if op in GLOBAL_OPS:
14
14
diff --git a/cloudpickle/cloudpickle_fast.py b/cloudpickle/cloudpickle_fast.py
15
- index 63aaffa..65ff18c 100644
15
+ index 63aaffa..873f462 100644
16
16
--- a/cloudpickle/cloudpickle_fast.py
17
17
+++ b/cloudpickle/cloudpickle_fast.py
18
18
@@ -21,6 +21,7 @@ import struct
@@ -28,7 +28,7 @@ index 63aaffa..65ff18c 100644
28
28
assert hasattr(self, 'proto')
29
29
30
30
- if pickle.HIGHEST_PROTOCOL >= 5 and not PYPY:
31
- + if pickle.HIGHEST_PROTOCOL >= 5 and platform.python_implementation() == 'CPython' :
31
+ + if pickle.HIGHEST_PROTOCOL >= 5 and not hasattr(Pickler, 'dispatch') :
32
32
# Pickler is the C implementation of the CPython pickler and therefore
33
33
# we rely on reduce_override method to customize the pickler behavior.
34
34
You can’t perform that action at this time.
0 commit comments