Skip to content

Commit fcd1eaf

Browse files
committed
Add python.cpython2 and adjust note on
python.security.respectJavaAccessibility, per review comments. Bug 2758.
1 parent bfdce71 commit fcd1eaf

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

registry.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Because there is no good platform independent equivalent of the Windows Registry
1313

1414
## Registry Properties
1515

16-
The following properties are recognized by Jython. More detailed documentation may be found in comments in the registry file provided with the Jython distribution.
16+
The following properties are recognized by Jython. More detailed documentation may be found in comments in the `registry` file provided with the Jython distribution.
1717

1818
**python.path**
19-
Equivalent to CPython's PYTHONPATH environment variable
19+
Equivalent to CPython's `PYTHONPATH` environment variable
2020

2121
**python.cachedir**
2222
The directory to use for caches - currently just package information. This directory must be writable by the user. If the directory is an absolute path, it is used as given, otherwise it is interpreted as relative to sys.prefix.
@@ -25,10 +25,10 @@ The directory to use for caches - currently just package information. This direc
2525
Sets the verbosity level for varying degrees of informative messages. Valid values in order of increasing verbosity are "error", "warning", "message", "comment", "debug"
2626

2727
**python.security.respectJavaAccessibility**
28-
Normally, Jython can only provide access to public members of classes. However if this property is set to false and you are using Java 1.2 then Jython can access non-public fields, methods, and constructors.
28+
Normally, Jython can only provide access to public members of classes. If this property is set to false, and you are using a Java version before Java 9, then Jython can access non-public fields, methods, and constructors. This may be deprecated in the future due to Java changes to accessibility from version 9.
2929

3030
**python.console**
31-
The name of a console class. An alternative console class that supports GNU readline can be installed with this property. Jython already include such a console class and it can be enabled by setting this property to org.python.util.ReadlineConsole
31+
The name of a console class. An alternative console class that supports GNU readline can be installed with this property. Jython already include such a console class and it can be enabled by setting this property to `org.python.util.ReadlineConsole`.
3232

3333
**python.console.readlinelib**
3434
Allow a choice of backing implementation for GNU readline support. Can be either GnuReadline or Editline. This property is only used when python.console is set to org.python.util.ReadlineConsole.
@@ -39,6 +39,10 @@ File to be run at the start of each interactive session, but not when dropping i
3939
**python.modules.builtin**
4040
Add, remove, or override built in modules.
4141

42+
**python.cpython2**
43+
Command used to invoke CPython, when needed, as in the case of modules and methods longer than Java supports natively.
44+
45+
4246

4347

4448
## Finding the Registry File

0 commit comments

Comments
 (0)