Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

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

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 19, 2009, 6:33 AM

Post #1 of 4 (153 views)
Permalink
[issue7356] parsing of ldconfig output in ctypes/utils.py depends on the locale

New submission from Matthias Klose <doko [at] debian>:

% /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>
<http://bugs.python.org/issue7356>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 19, 2009, 9:33 AM

Post #2 of 4 (144 views)
Permalink
[issue7356] parsing of ldconfig output in ctypes/utils.py depends on the locale [In reply to]

Thomas Heller <theller [at] ctypes> added the comment:

I'm curious: Which output do you get from:
'LANG=C /sbin/ldconfig -p | fgrep GL'

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7356>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 19, 2009, 10:43 AM

Post #3 of 4 (144 views)
Permalink
[issue7356] parsing of ldconfig output in ctypes/utils.py depends on the locale [In reply to]

Matthias Klose <doko [at] debian> added the comment:

$ LANG=C /sbin/ldconfig -p | fgrep 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, OS ABI: Linux 2.4.20) => /usr/lib/libGL.so.1

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7356>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 19, 2009, 11:50 AM

Post #4 of 4 (142 views)
Permalink
[issue7356] parsing of ldconfig output in ctypes/utils.py depends on the locale [In reply to]

Thomas Heller <theller [at] ctypes> added the comment:

I assume the patch is fine, would you like to apply it? Thanks.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue7356>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.