Thank you for having ported Python 2.7 on z/OS and making it available.
I have installed it on our host machine and was able to start the interpreter.
However, I am interested in accessing other load modules (DLLs) with Python’s foreign function interface ‘ctypes’.
I get the following error:
import ctypes
Traceback (most recent call last):
File “”, line 1, in
File
"/u/mm/python-2.7.6/lib/python2.7/ctypes/init.py", line 10, in
from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes
ctypes is very useful to make an ‘independent’ package available on different platforms and Python versions:
- No need to write a Python extension to interface DLL
- No compilations on any platform
I am interested to support adapya on z/OS - https://pypi.python.org/pypi/adapya/0.7.0 and adapya needs some basic ctypes functionality which is available with ports to z/Linux and Windows.
Is there a chance that you include the ctypes functionality in your Python port for z/OS?
Will you be porting Python 3 in the future?