From: Jeff A. <re...@bu...> - 2019-06-21 21:58:06
|
New submission from Jeff Allen <ja...@fa...>: Our implementation of ctypes sits on top of jffi. We upgrade the JARs occasionally, but unfortunately, the code on our side is 10 years old. Except in a few of the source files, I have not found a shred of documentation. ctypes doesn't get exercised in the regression tests, because test_ctypes does not find a module _ctypes. If I dig out ctypes.tests.runtests specially from lib-python, it fails in a way that suggests ctypes moved on from Python 2.5 and ours didn't. So I think the fix is to enable test_ctypes for Jython, then work off the failures. I bring this up because of https://github.com/jythontools/jython/issues/147, which we should fix at the same time. If it had been tested, I would have noticed the bug when futzing around in my Chinese persona. As this is a late arrival, and we've managed so far, I'm inclined to leave it to 2.7.3. ---------- components: Library messages: 12562 nosy: jeff.allen priority: normal severity: normal status: open title: Update ctypes/jffi to Python 2.7 and test type: behaviour _______________________________________ Jython tracker <re...@bu...> <https://bugs.jython.org/issue2780> _______________________________________ |