File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -723,11 +723,9 @@ private static PythonBuiltins[] initializeBuiltins(boolean nativeAccessAllowed)
723
723
builtins .add (new BZ2DecompressorBuiltins ());
724
724
builtins .add (new BZ2ModuleBuiltins ());
725
725
}
726
- if (!ImageInfo .inImageRuntimeCode ()) {
727
- ServiceLoader <PythonBuiltins > providers = ServiceLoader .load (PythonBuiltins .class , Python3Core .class .getClassLoader ());
728
- for (PythonBuiltins builtin : providers ) {
729
- builtins .add (builtin );
730
- }
726
+ ServiceLoader <PythonBuiltins > providers = ServiceLoader .load (PythonBuiltins .class , Python3Core .class .getClassLoader ());
727
+ for (PythonBuiltins builtin : providers ) {
728
+ builtins .add (builtin );
731
729
}
732
730
filterBuiltins (builtins );
733
731
return builtins .toArray (new PythonBuiltins [builtins .size ()]);
You can’t perform that action at this time.
0 commit comments