Skip to content

Commit eb18562

Browse files
committed
if pycache is set to None, no abspath is called on getting pyc files, so it can safely be called
1 parent e8a1813 commit eb18562

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

graalpython/lib-python/3/importlib/_bootstrap_external.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,8 +863,6 @@ def get_code(self, fullname):
863863
hash_based = False
864864
check_source = True
865865
try:
866-
if __graalpython__.in_image_buildtime:
867-
raise NotImplementedError
868866
bytecode_path = cache_from_source(source_path)
869867
except NotImplementedError:
870868
bytecode_path = None

0 commit comments

Comments
 (0)