File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 87
87
import com .oracle .graal .python .nodes .function .builtins .PythonBinaryBuiltinNode ;
88
88
import com .oracle .graal .python .nodes .statement .ExceptionHandlingStatementNode ;
89
89
import com .oracle .graal .python .nodes .util .CastToJavaStringNode ;
90
+ import com .oracle .graal .python .parser .sst .SerializationUtils ;
90
91
import com .oracle .graal .python .runtime .ExecutionContext .ForeignCallContext ;
91
92
import com .oracle .graal .python .runtime .PythonContext ;
92
93
import com .oracle .graal .python .runtime .PythonCore ;
@@ -175,7 +176,7 @@ public boolean run() {
175
176
@ Builtin (name = "get_magic" )
176
177
@ GenerateNodeFactory
177
178
public abstract static class GetMagic extends PythonBuiltinNode {
178
- static final int MAGIC_NUMBER = 3413 ;
179
+ static final int MAGIC_NUMBER = 21000 + SerializationUtils . VERSION * 10 ;
179
180
180
181
@ Child private IntBuiltins .ToBytesNode toBytesNode = IntBuiltins .ToBytesNode .create ();
181
182
@ Child private PythonObjectLibrary pol = PythonObjectLibrary .getFactory ().createDispatched (1 );
You can’t perform that action at this time.
0 commit comments