You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/SelectModuleBuiltins.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
2
+
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* The Universal Permissive License (UPL), Version 1.0
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/control/TopLevelExceptionHandler.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved.
2
+
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* The Universal Permissive License (UPL), Version 1.0
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonOptions.java
+19-34Lines changed: 19 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright (c) 2017, 2019, Oracle and/or its affiliates.
2
+
* Copyright (c) 2017, 2020, Oracle and/or its affiliates.
3
3
* Copyright (c) 2013, Regents of the University of California
4
4
*
5
5
* All rights reserved.
@@ -48,10 +48,9 @@
48
48
importorg.graalvm.options.OptionValues;
49
49
50
50
/**
51
-
* The options for Python. Note that some options have an effect on the AST
52
-
* structure, and thus must be the same for all contexts in an engine. We
53
-
* annotate these with {@link EngineOption} and the PythonLanguage will ensure
54
-
* that these are matched across contexts.
51
+
* The options for Python. Note that some options have an effect on the AST structure, and thus must
52
+
* be the same for all contexts in an engine. We annotate these with {@link EngineOption} and the
53
+
* PythonLanguage will ensure that these are matched across contexts.
55
54
*/
56
55
@Option.Group(PythonLanguage.ID)
57
56
publicfinalclassPythonOptions {
@@ -106,19 +105,16 @@ private PythonOptions() {
106
105
@Option(category = OptionCategory.INTERNAL, help = "Set the location of C API home. Overrides any environment variables or Java options.", stability = OptionStability.STABLE) //
@Option(category = OptionCategory.INTERNAL, help = "Expose internal sources as normal sources, so they will show up in the debugger and stacks") //
108
+
@EngineOption@Option(category = OptionCategory.INTERNAL, help = "Expose internal sources as normal sources, so they will show up in the debugger and stacks") //
@Option(category = OptionCategory.EXPERT, help = "Prints path to parsed files") //
@@ -127,24 +123,19 @@ private PythonOptions() {
127
123
@Option(category = OptionCategory.EXPERT, help = "Prints parser time statistis after number of parsed files, set by this option. 0 or <0 means no statistics are printed.") //
// disabling TRegex has an effect on the _sre Python functions that are
161
151
// dynamically created, so we cannot change that option again.
162
-
@EngineOption
163
-
@Option(category = OptionCategory.EXPERT, help = "Use the optimized TRegex engine and call the CPython sre engine only as a fallback. Default true") //
152
+
@EngineOption@Option(category = OptionCategory.EXPERT, help = "Use the optimized TRegex engine and call the CPython sre engine only as a fallback. Default true") //
@Option(category = OptionCategory.EXPERT, help = "Propagate append operations to lists created as literals back to where they were created, to inform overallocation to avoid having to grow them later.") //
0 commit comments