Skip to content

Commit 9b1b68e

Browse files
committed
Simplify cloudpickle patch
1 parent b09a825 commit 9b1b68e

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

graalpython/lib-graalpython/patches/cloudpickle/cloudpickle-2.2.1.patch

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,10 @@ index 317be69..4e409e4 100644
1212
op = instr.opcode
1313
if op in GLOBAL_OPS:
1414
diff --git a/cloudpickle/cloudpickle_fast.py b/cloudpickle/cloudpickle_fast.py
15-
index 63aaffa..873f462 100644
15+
index 63aaffa..4ee14fd 100644
1616
--- a/cloudpickle/cloudpickle_fast.py
1717
+++ b/cloudpickle/cloudpickle_fast.py
18-
@@ -21,6 +21,7 @@ import struct
19-
import types
20-
import weakref
21-
import typing
22-
+import platform
23-
24-
from enum import Enum
25-
from collections import ChainMap, OrderedDict
26-
@@ -663,7 +664,7 @@ class CloudPickler(Pickler):
18+
@@ -663,7 +663,7 @@ class CloudPickler(Pickler):
2719
self.globals_ref = {}
2820
assert hasattr(self, 'proto')
2921

0 commit comments

Comments
 (0)