Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9aabaccb
Commit
9aabaccb
authored
Mar 15, 2010
by
Matthias Klose
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #7356: ctypes.util: Make parsing of ldconfig output locale independent.
Previous fix was only made to dead and removed code.
parent
d6cecd30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Lib/ctypes/util.py
Lib/ctypes/util.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-3
No files found.
Lib/ctypes/util.py
View file @
9aabaccb
...
...
@@ -223,7 +223,7 @@ elif os.name == "posix":
# XXX assuming GLIBC'
s
ldconfig
(
with
option
-
p
)
expr
=
r'\
s+(li
b%s\
.[^
\s]+)\
s+
\(%s'
%
(
re
.
escape
(
name
),
abi_type
)
f
=
os
.
popen
(
'/sbin/ldconfig -p 2>/dev/null'
)
f
=
os
.
popen
(
'
LC_ALL=C LANG=C
/sbin/ldconfig -p 2>/dev/null'
)
try
:
data
=
f
.
read
()
finally
:
...
...
Misc/NEWS
View file @
9aabaccb
...
...
@@ -92,6 +92,9 @@ Core and Builtins
Library
-------
-
Issue
#
7356
:
ctypes
.
util
:
Make
parsing
of
ldconfig
output
independent
of
the
locale
.
-
Issue
#
25738
:
Stop
BaseHTTPServer
.
BaseHTTPRequestHandler
.
send_error
()
from
sending
a
message
body
for
205
Reset
Content
.
Also
,
don
't send the
Content-Type header field in responses that don'
t
have
a
body
.
Based
on
...
...
@@ -6232,9 +6235,6 @@ Library
-
Issue
#
8140
:
Extend
compileall
to
compile
single
files
.
Add
-
i
option
.
-
Issue
#
7356
:
ctypes
.
util
:
Make
parsing
of
ldconfig
output
independent
of
the
locale
.
-
Issue
#
7774
:
Set
sys
.
executable
to
an
empty
string
if
``
argv
[
0
]``
has
been
set
to
an
non
existent
program
name
and
Python
is
unable
to
retrieve
the
real
program
name
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment