Skip to content

Commit 4b3a349

Browse files
committed
use exec instead of eval
1 parent dce02a0 commit 4b3a349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/builtins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __import__(filename, module_name):
5151
content = posix.read(fd, sys.maxsize)
5252
posix.close(fd)
5353
code = compile(content, filename, "exec")
54-
eval(code, module.__dict__)
54+
exec(code, module.__dict__)
5555
return module
5656

5757

0 commit comments

Comments
 (0)