graalpython
graalpython copied to clipboard
A Python 3 implementation built on GraalVM
`numpy` defines its own numeric types. However GraalPy doesn't report them as `InteropLibrary.isNumber`. That causes interoperability confusion. To reproduce store following file as `Numpy.java`: ```java import org.graalvm.polyglot.Context; class Numpy {...
As of the latest version (23.1.0), GraalPy does not support overriding constructors for Python classes that inherit from Java. The example below throws an error when we try to create...
**Describe GraalVM and your environment :** - GraalVM version or commit id if built from source: **[e.g. 19.3]** - CE or EE: **[e.g.: CE]** - JDK version: **[e.g.: JDK8]** -...
Steps to reproduce: ### Create `Pandas.java` File ```java import java.io.File; import org.graalvm.polyglot.Context; class Pandas { public static void main(String... args) throws Exception { var pwd = System.getProperty("user.dir"); var exe =...
### TL;DR We plan to gradually add support for more Python packages to GraalPy. ### Goals To allow as many Python developers as possible to take advantage of the performance...
I installed GraalVM 22.3.1, Python Language, and NumPy and Pandas as described in: https://www.graalvm.org/latest/reference-manual/python/ Here is my sample test.py ``` import pandas as pd import time start = time.time() *...
This is more a question than an issue but it could be seen as a very long term issue :slightly_smiling_face: conda-forge and the conda/mamba package managers are very popular in...
I would like to start this issue mainly to see interest for the support in robotframework community. Ever since RoboCon 2021 GraalVM Python was on our radar as potential replacement...
```java Context ctx = Context.newBuilder("python").allowAllAccess(true).build(); try { ctx.eval("python", "import java; java.math.BigInteger.ONE.divide(java.math.BigInteger.ZERO)"); } catch (Exception e) { } ``` This prints the zero division exception from Java via https://github.com/oracle/graalpython/blob/master/graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/exception/TopLevelExceptionHandler.java#L217. This should...