Py4J 0.10.4 has just been released on PyPI, Maven Central, and bintray
(p2 eclipse repository).
This is a backward-compatible released with two bugfixes:
- Setting a value in a Java array now correctly converts the Python type to Java type. For example, it is now possible to set a value in a java float array. Before that change, Python type and Java Array value type had to exactly match.
- Java side: the serverError callback in the GatewayServerListener is no longer called when “java.net.SocketException: Socket closed” exception is raised when the GatewayServer is shutting down. The server_connection_error signal on the Python side was already ignoring that spurious error.
- Tickets closed for 0.10.4 release
I knew I was being too optimistic about my plans for 0.11 and I now have to face the fact that I won’t be able to release Py4J 1.0 before the end of the year. I’ve been busy with many other community activities (i.e., reviewing conference papers) and I just resumed my work on creating a new binary protocol. I’m still very happy with how things are shaping up so stay tuned!
As always, this release has been made possible by the generous contributions from many users. Every bug reports, patches, pull requests, ideas or help on the mailing list is greatly appreciated.