[Python-checkins] r68487 - in python/trunk: Lib/ctypes/util.py Misc/NEWS (original) (raw)

matthias.klose python-checkins at python.org
Sat Jan 10 18:00:42 CET 2009


Author: matthias.klose Date: Sat Jan 10 18:00:42 2009 New Revision: 68487

Log:

Modified: python/trunk/Lib/ctypes/util.py python/trunk/Misc/NEWS

Modified: python/trunk/Lib/ctypes/util.py

--- python/trunk/Lib/ctypes/util.py (original) +++ python/trunk/Lib/ctypes/util.py Sat Jan 10 18:00:42 2009 @@ -92,18 +92,20 @@ expr = r'[^()\s]lib%s.[^()\s]' % re.escape(name) fdout, ccout = tempfile.mkstemp() os.close(fdout)

@@ -125,7 +127,13 @@ # assuming GNU binutils / ELF if not f: return None

@@ -171,8 +179,32 @@ return None return res.group(0)

################################################################

test code

Modified: python/trunk/Misc/NEWS

--- python/trunk/Misc/NEWS (original) +++ python/trunk/Misc/NEWS Sat Jan 10 18:00:42 2009 @@ -286,6 +286,9 @@ - Issue #841800: bundlebuilder now works with 'python -O' +- Issue #4861: ctypes.util.find_library(): Robustify. Fix library detection on + biarch systems. Try to rely on ldconfig only, without using objdump and gcc. + Tools/Demos



More information about the Python-checkins mailing list