Martin Panter added the comment: ''' call find_library("foo") libc: libc.a libc.a: libc.a libc.so.6: libc.a libcrypto.so: libcrypto.a '''
The above don’t seem right to me, unless compiling with “cc -llibc.so.6” etc works on AIX. ''' call cdll.LoadLibrary("foo") m: <CDLL 'None', handle d at 700000000216860> libm.so: <CDLL 'None', handle e at 700000000216860> ''' These doesn’t look right. What happened to the library name? With your new aixutil.py file, it might be good to give it an underscore (_) prefix, to indicate it is an internal module rather than part of the ctypes API. So your code would do import ctypes._aixutil as aix ---------- Added file: http://bugs.python.org/file42776/python.Lib.ctypes.160504.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26439> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com