The JyNI project aims to support native CPython extensions in Jython. Although it is still far from maturity, especially Tkinter has already said that it is supported. However, JyNI only works on Linux. In its current version, JyNI does not do garbage collection, so a memory leak may occur. However, I believe that this should not be a problem for Tkinter, but it should be used with caution anyway.
Just by chance - if you have to try, despite these shortcomings: Since I am involved in this project, I would appreciate if you could give feedback to the contact letter of the project and if it does not work with your Tkinter code, send an unsuccessful fragment Tkinter code.
stewori
source share