Skip to content

Commit 2cc1dc4

Browse files
committed
but the cpu arch into the sys.version (sysconfig.py uses this on windows)
1 parent e32d77e commit 2cc1dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/SysModuleBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ public void initialize(Python3Core core) {
544544
addBuiltinConstant("api_version", PythonLanguage.API_VERSION);
545545
addBuiltinConstant("version", toTruffleStringUncached(PythonLanguage.VERSION +
546546
" (" + COMPILE_TIME + ")" +
547-
"\n[Graal, " + Truffle.getRuntime().getName() + ", Java " + System.getProperty("java.version") + "]"));
547+
"\n[Graal, " + Truffle.getRuntime().getName() + ", Java " + System.getProperty("java.version") + " (" + System.getProperty("os.arch") + ")]"));
548548
addBuiltinConstant("float_info", factory.createStructSeq(FLOAT_INFO_DESC,
549549
Double.MAX_VALUE, // DBL_MAX
550550
Double.MAX_EXPONENT + 1, // DBL_MAX_EXP

0 commit comments

Comments
 (0)