Skip to content

Commit 07b1afa

Browse files
tomasstupkahachim-hassani
authored andcommitted
do not set engine.WarnInterpreterOnly - Truffle doesn't allow setting engine options when using a shared engine
(cherry picked from commit 4956b47)
1 parent 370f56b commit 07b1afa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

graalpython/org.graalvm.python.embedding/src/org/graalvm/python/embedding/utils/GraalPyResources.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,6 @@ private static Context.Builder createContextBuilder() {
356356
// Force to automatically import site.py module, to make Python packages
357357
// available
358358
option("python.ForceImportSite", "true").
359-
// Do not warn if running without JIT. This can be desirable for short
360-
// running scripts to reduce memory footprint.
361-
option("engine.WarnInterpreterOnly", "false").
362359
// causes the interpreter to always assume hash-based pycs are valid
363360
option("python.CheckHashPycsMode", "never");
364361
}

0 commit comments

Comments
 (0)