Skip to content

Commit 9b483b1

Browse files
committed
remove hacks for zipimport and threading modules
1 parent c61c7a7 commit 9b483b1

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

graalpython/lib-graalpython/__builtins_patches__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,3 @@ def open(*args, **kwargs):
7272

7373

7474
setattr(builtins, 'open', open)
75-
76-
77-
# in setuptools' pkg_resources/__init__.py
78-
sys.modules["zipimport"] = type(sys)("zipimport")
79-
sys.modules["zipimport"].zipimporter = None
80-
81-
# in setuptools' vendored pyparsing.py
82-
class ThreadingIntercession(type(sys)):
83-
def __getattr__(self, name):
84-
import dummy_threading
85-
return getattr(dummy_threading, name)
86-
87-
88-
sys.modules["threading"] = ThreadingIntercession("threading")

0 commit comments

Comments
 (0)