public class Options extends Object
Modifier and Type | Field and Description |
---|---|
static int |
bytes_warning |
static boolean |
caseok
If true, Jython will use the first module found on sys.path where java
File.isFile() returns true.
|
static int |
division_warning
Enable division warning.
|
static boolean |
dont_write_bytecode
Whether -B (don't write bytecode on import) was enabled via the command line.
|
static boolean |
ignore_environment
Whether -E (ignore environment) was enabled via the command line.
|
static boolean |
importSite
When false the
site.py will not be imported. |
static boolean |
includeJavaStackInExceptions
If true, exceptions raised from Python code will include a Java stack
trace in addition to the Python traceback.
|
static boolean |
no_site |
static boolean |
no_user_site |
static int |
optimize |
static String |
proxyDebugDirectory
A directory where the dynamically generated classes are written.
|
static boolean |
py3k_warning
Whether -3 (py3k warnings) was enabled via the command line.
|
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 overridden methods will be shown on
stderr.
|
static String |
sreCacheSpec |
static String |
sreCacheSpecDefault
Cache spec for the SRE_STATE code point cache.
|
static boolean |
unbuffered
Force stdin, stdout and stderr to be unbuffered, and opened in
binary mode
|
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.
|
public static boolean showJavaExceptions
public static boolean includeJavaStackInExceptions
public static boolean showPythonProxyExceptions
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 String proxyDebugDirectory
public static boolean caseok
public static boolean Qnew
public static boolean unbuffered
public static boolean py3k_warning
public static boolean dont_write_bytecode
public static boolean ignore_environment
public static boolean no_user_site
public static boolean no_site
public static int bytes_warning
public static int optimize
public static int division_warning
public static final String sreCacheSpecDefault
public static String sreCacheSpec