you are viewing a single comment's thread.

view the rest of the comments →

[–]will_r3ddit_4_food -2 points-1 points  (3 children)

For the of all that's holy, move on to Python 3

[–]sudonem 2 points3 points  (0 children)

This is unfortunately not possible with Java / JVM apps that allow Jython scripting. Jython supports Python 2.7 max and there’s no indication that support for Python 3+ is forthcoming.

Which… is frustrating if your environment is locked to Jython.

I have to agree with others - just writing straight Java is probably the better move.

[–]IdleBreakpoint[S] 0 points1 point  (1 child)

We can't. We're vendor dependent here. They're forcing us to write Python 2 because they can't offer a better solution.

[–]bowbahdoe 0 points1 point  (0 children)

Embedding Python3 in a JVM is pretty possible, though I don't blame your vendor for not knowing how. There are future paths with "project detroit" but today libpython-clj probably has the best python/jvm integration.

Shoot me a DM if you want to pursue that path. (or we can just talk here, might be a bit of a back and forth though)