Skip to content

py4j/py4j

master
Switch branches/tags
Code

Latest commit

test.yml
    Add windows-2019 to jobs.test.strategy.matrix.os

java_gateway.py
    In Windows, readline end with \r\n, use os.linesep instead of 1

java_gateway_test.py
    In windows stdout, \n will be replaced by \r\n
    In Java, System.out.println will output \r\n
    So, \r\n will be replaced by \r\r\n
    Use System.out.print to avoid platform differences

memory_leak_test.py
    I didn't think of a good way to solve it, maybe should open a new issue to trace it.

Resolves #484

Co-authored-by: Hyukjin Kwon <gurwls223@gmail.com>
77330c3

Git stats

Files

Permalink
Failed to load latest commit information.

Py4J

Py4J enables Python programs running in a Python interpreter to dynamically access Java objects in a Java Virtual Machine. Methods are called as if the Java objects resided in the Python interpreter and Java collections can be accessed through standard Python collection methods. Py4J also enables Java programs to call back Python objects.

The latest compiled release is available in the current-release directory.

This is the source repository of Py4J projects. Please visit the Py4J homepage for more information.

For help, register and then post to the Py4J mailing list at py4j at py4j dot org

LICENSE

Py4J is distributed with the BSD 3-Clause license. See LICENSE.txt for more information.

CONTRIBUTING

We are always happy to receive code contributions, bug reports, and documentation fixes. Please visit the contributing guide for more information.