This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, r.david.murray, tw.bert
Date 2016-08-24.08:37:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472027866.42.0.851467381089.issue21826@psf.upfronthosting.co.za>
In-reply-to
Content
For the record, if you wanted to actually load the library function on AIX, I understand the code might look a bit like:

if sys.platform.startswith("aix"):
    if sys.maxsize > 2**32:
        lib = "libc.a(shr_64.o)"
    else:
        lib = "libc.a(shr.o)"
    RTLD_MEMBER = 0x00040000
    lib = ctypes.CDLL(lib, ctypes.DEFAULT_MODE | RTLD_MEMBER)
    _uuid_generate_time = lib.uuid_generate_time
else:
    # The uuid_generate_* routines are provided by libuuid on at least
    # Linux and FreeBSD, and provided by libc on Mac OS X.
    ...
History
Date User Action Args
2016-08-24 08:37:46martin.pantersetrecipients: + martin.panter, r.david.murray, tw.bert
2016-08-24 08:37:46martin.pantersetmessageid: <1472027866.42.0.851467381089.issue21826@psf.upfronthosting.co.za>
2016-08-24 08:37:46martin.panterlinkissue21826 messages
2016-08-24 08:37:45martin.pantercreate