Author martin.panter
Recipients David.Edelsohn, Michael.Felt, martin.panter
Date 2016-05-08.04:52:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462683179.24.0.865050001848.issue26439@psf.upfronthosting.co.za>
In-reply-to
Content
'''
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
History
Date User Action Args
2016-05-08 04:53:00martin.pantersetrecipients: + martin.panter, David.Edelsohn, Michael.Felt
2016-05-08 04:52:59martin.pantersetmessageid: <1462683179.24.0.865050001848.issue26439@psf.upfronthosting.co.za>
2016-05-08 04:52:59martin.panterlinkissue26439 messages
2016-05-08 04:52:58martin.pantercreate