ninia / jep

Embed Python in Java
Other
1.27k stars 146 forks source link

Java FunctionalInterfaces are automatically callable in Python #507

Closed bsteffensmeier closed 8 months ago

bsteffensmeier commented 8 months ago

In Jep 3.7 we made it so that Python Callables can be converted to FunctionalInterfaces when passed to Java so I think it is appropriate to do the inverse when passing a FunctionalInterface to Python.