Martin Panter added the comment:
For 2.7, adding the automatic RTLD_MEMBER mode does not seem like a bug fix to
me. Currently, I understand this code could load two separate libraries:
file = CDLL("libcrypto.a(libcrypto.so.1.0.0)")
member = CDLL("libcrypto.a(libcrypto.so.1.0.0)", DEFAULT_MODE | 0x00040000)
With your proposed change, the first line will do the same as the second line,
and Python will no longer provide a way to load a file named like in the first
operation. Maybe this is okay for the next version of Python 3 (because it is
only breaking a rare corner case), but my view is it is not worth changing 2.7.
----------
nosy: +martin.panter
title: ctypes and AIX - also for 2.7.X (and later) -> ctypes library loading
and AIX - also for 2.7.X (and later)
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27435>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com