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
0d640c3e
Commit
0d640c3e
authored
May 25, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname().
Patch by Sijin Joseph.
parent
f82a5967
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
Lib/ctypes/util.py
Lib/ctypes/util.py
+1
-3
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ctypes/util.py
View file @
0d640c3e
...
...
@@ -137,9 +137,7 @@ elif os.name == "posix":
rv = f.close()
if rv == 10:
raise OSError('
objdump
command
not
found
')
with contextlib.closing(os.popen(cmd)) as f:
data = f.read()
res = re.search(r'
\
sSONAME
\
s
+
([
^
\
s
]
+
)
', data)
res = re.search(r'
\
sSONAME
\
s
+
([
^
\
s
]
+
)
', dump)
if not res:
return None
return res.group(1)
...
...
Misc/NEWS
View file @
0d640c3e
...
...
@@ -161,6 +161,9 @@ Core and Builtins
Library
-------
- Issue #12045: Avoid duplicate execution of command in ctypes.util._get_soname().
Patch by Sijin Joseph.
- Issue #10818: Remove the Tk GUI and the serve() function of the pydoc module,
pydoc -g has been deprecated in Python 3.2 and it has a new enhanced web
server.
...
...
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