[New-bugs-announce] [issue7356] parsing of ldconfig output in ctypes/utils.py depends on the locale

Matthias Klose report at bugs.python.org
Thu Nov 19 15:33:08 CET 2009


New submission from Matthias Klose <doko at debian.org>:

% /sbin/ldconfig -p | grep GL
    libGLU.so.1 (libc6) => /usr/lib/libGLU.so.1
    libGLEW.so.1.5 (libc6) => /usr/lib/libGLEW.so.1.5
    libGL.so.1 (libc6, Système d'exploitation ABI : Linux 2.4.20) =>
/usr/lib/libGL.so.1

the regexp fails to parse this. proposing to set LANG=C when calling
ldconfig.

----------
assignee: theller
components: ctypes
files: util.py.diff
keywords: patch
messages: 95475
nosy: doko, theller
severity: normal
status: open
title: parsing of ldconfig output in ctypes/utils.py depends on the locale
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file15363/util.py.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7356>
_______________________________________


More information about the New-bugs-announce mailing list