[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2018-07-23 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker ___

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2018-07-23 Thread Michael Felt
Michael Felt added the comment: as this is fixed is Python3.7 (see issue26439) and has been stated several times that it will not be fixed in Python2.7 I suspect this issue may also be closed. -- ___ Python tracker

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2016-09-07 Thread Michael Felt
Michael Felt added the comment: re: issue 26439 and issue 27435 would like to show: without patch, find_library() is consistently slow, and in default situations, returns nothing. root@x064:[/data/prj/aixtools/python/python-2.7.10]./python -m timeit -n 100 'import ctypes.util;

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2016-08-24 Thread Martin Panter
Martin Panter added the comment: 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)"

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2016-08-21 Thread Martin Panter
Martin Panter added the comment: It looks like Bert’s patch adjusted two ldconfig calls; the first one was in a BSD-specific branch. Was this intended? Only the second call (default “else:” branch) seems applicable to AIX. Perhaps the performance is improved now that the popen() shell calls

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2016-04-24 Thread Martin Panter
Martin Panter added the comment: See also Issue 26439 about find_library() AIX support -- nosy: +martin.panter ___ Python tracker ___

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread tw.bert
New submission from tw.bert: Preample: This is my first post to the python issue tracker, I included a fix. This issue is probably related to http://bugs.python.org/issue11063 . The problem: After upgrading a package on AIX 7.1 x64 that started using the uuid module, we experienced serious

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread R. David Murray
R. David Murray added the comment: How does this interact with issue 11063? -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21826 ___

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread tw.bert
tw.bert added the comment: Hi David, thank you for looking into this. Issue 11063 starts with When the uuid.py module is simply imported it has the side effect of forking a subprocess (/sbin/ldconfig) and doing a lot of stuff find a uuid implementation by ctypes.. My fix is specific about