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: CHANGELOG.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ language runtime. The main focus is on user-observable behavior of the engine.
9
9
* When calling a method on a foreign object in Python code, Python methods are now prioritized over foreign members.
10
10
* Added `polyglot.register_interop_type` and `@polyglot.interop_type` to define custom Python methods for a given foreign class/type. See [the documentation](https://github.com/oracle/graalpython/blob/master/docs/user/Interoperability.md#the-interoperability-extension-api) for more information.
11
11
* Foreign objects are now given a Python class corresponding to their interop traits.
12
-
** Foreign lists now inherit from Python `list`, foreign dictionaries from `dict`, foreign iterators from `iterator`, foreign exceptions from `BaseException` and foreign none/null from `NoneType`.
13
-
** This means all Python methods of these types are available on the corresponding foreign objects, which behave as close as possible as if they were Python objects.
14
-
** See [the documentation](https://github.com/oracle/graalpython/blob/master/docs/user/Interoperability.md#interacting-with-foreign-objects-from-python-scripts) for more information.
12
+
* Foreign lists now inherit from Python `list`, foreign dictionaries from `dict`, foreign strings from `str`, foreign iterators from `iterator`, foreign exceptions from `BaseException`, foreign numbers from `ForeignNumberType` and foreign none/null from `NoneType`.
13
+
* This means all Python methods of these types are available on the corresponding foreign objects, which behave as close as possible as if they were Python objects.
14
+
* See [the documentation](https://github.com/oracle/graalpython/blob/master/docs/user/Interoperability.md#interacting-with-foreign-objects-from-python-scripts) for more information.
15
15
* Remove support for running with Sulong managed both in embeddings as well as through the `graalpy-managed` launcher.
16
16
17
17
## Version 24.1.0
@@ -40,9 +40,9 @@ language runtime. The main focus is on user-observable behavior of the engine.
40
40
*`multiprocessing` module now uses the `spawn` method (creates new processes) by default. The formerly default method that uses threads and multiple Truffle contexts can be selected using `multiprocessing.set_start_method('graalpy')`.
41
41
*`polyglot` module: add API to redefine Truffle interop messages for external / user defined types. For more details see [The Truffle Interoperability Extension API](docs/user/Interoperability.md).
42
42
* Adding integration with jBang (https://www.jbang.dev/)
43
-
** running example via `jbang hello@oracle/graalpython` or `jbang hello@oracle/graalpython "print(1*4)"`
44
-
** creating new script via: `jbang init --template=graalpy@oracle/graalpython myscript.java`
45
-
** creating new script with local maven repo for testing: `jbang init --template=graalpy_local_repo@oracle/graalpython -Dpath_to_local_repo=/absolute/path/to/local/maven/repository myscript.java'
43
+
* running example via `jbang hello@oracle/graalpython` or `jbang hello@oracle/graalpython "print(1*4)"`
44
+
* creating new script via: `jbang init --template=graalpy@oracle/graalpython myscript.java`
45
+
* creating new script with local maven repo for testing: `jbang init --template=graalpy_local_repo@oracle/graalpython -Dpath_to_local_repo=/absolute/path/to/local/maven/repository myscript.java'
46
46
47
47
## Version 23.1.0
48
48
* GraalPy distributions (previously known as GraalPy Enterprise) are now available under the [GFTC license](https://www.oracle.com/downloads/licenses/graal-free-license.html). The community builds published on Github have been renamed to `graalpy-community-<version>-<os>-<arch>.tar.gz`.
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python.test.integration/src/com/oracle/graal/python/test/integration/interop/JavaInteropTest.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -496,7 +496,7 @@ def foo(obj):
496
496
foo.execute(ProxyObject.fromMap(m));
497
497
}
498
498
499
-
publicclassJavaObject {
499
+
publicstaticclassJavaObject {
500
500
publicbytebyteValue = 1;
501
501
publicshortshortValue = 2;
502
502
publicintintValue = 3;
@@ -563,7 +563,7 @@ public void accessJavaObjectFields() throws IOException {
0 commit comments