public class Options
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
caseok
If true, Jython will use the first module found on sys.path where java
File.isFile() returns true.
|
static boolean |
deprecatedKeywordMangling
Setting this to true will support old 1.0 style keyword+"_" names.
|
static int |
divisionWarning
Enable division warning.
|
static boolean |
importSite
When false the
site.py will not be imported. |
static boolean |
pollStandardIn
Setting this to true will cause the console to poll standard in.
|
static java.lang.String |
proxyDebugDirectory
A directory where the dynamicly generated classes are written.
|
static boolean |
Qnew
If true, enable truedivision for the '/' operator.
|
static boolean |
respectJavaAccessibility
If true, Jython respects Java the accessibility flag for fields,
methods, and constructors.
|
static boolean |
showJavaExceptions
when an exception occurs in Java code, and it is not caught, should the
interpreter print out the Java exception in the traceback?
|
static boolean |
showPythonProxyExceptions
When true, python exception raised in overriden methods will be shown on
stderr.
|
static boolean |
skipCompile
To force JIT compilation of Jython code -- should be unnecessary Setting
this to true will cause jdk1.2rc1 to core dump on Windows
|
static int |
verbose
Set verbosity to Py.ERROR, Py.WARNING, Py.MESSAGE, Py.COMMENT, or
Py.DEBUG for varying levels of informative messages from Jython.
|
Modifier and Type | Method and Description |
---|---|
static void |
setFromRegistry()
Initialize the static fields from the registry options.
|
public static boolean showJavaExceptions
public static boolean showPythonProxyExceptions
public static boolean skipCompile
public static boolean pollStandardIn
public static boolean respectJavaAccessibility
public static boolean importSite
site.py
will not be imported. This is only
honored by the command line main class.public static int verbose
public static boolean deprecatedKeywordMangling
public static java.lang.String proxyDebugDirectory
public static boolean caseok
public static boolean Qnew
public static int divisionWarning