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
a2133519
Commit
a2133519
authored
Jul 31, 2013
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #18071: Extension module builds on OS X could fail with TypeError
if Xcode command line tools were not installed.
parent
c32e24db
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
Lib/_osx_support.py
Lib/_osx_support.py
+2
-2
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/_osx_support.py
View file @
a2133519
...
...
@@ -53,7 +53,7 @@ def _find_executable(executable, path=None):
def
_read_output
(
commandstring
):
"""Output from succesful command execution or None"""
"""Output from succes
s
ful command execution or None"""
# Similar to os.popen(commandstring, "r").read(),
# but without actually using os.popen because that
# function is not usable during python bootstrap.
...
...
@@ -68,7 +68,7 @@ def _read_output(commandstring):
with
contextlib
.
closing
(
fp
)
as
fp
:
cmd
=
"%s 2>/dev/null >'%s'"
%
(
commandstring
,
fp
.
name
)
return
fp
.
read
().
decode
(
'utf-8'
).
strip
()
if
not
os
.
system
(
cmd
)
else
None
return
fp
.
read
().
strip
()
if
not
os
.
system
(
cmd
)
else
None
def
_find_build_tool
(
toolname
):
...
...
Misc/NEWS
View file @
a2133519
...
...
@@ -74,6 +74,9 @@ Library
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 2.7.3 and inadvertently dropped in 2.7.4.
- Issue #18071: C extension module builds on OS X could fail with TypeError
if the Xcode command line tools were not installed.
- Issue #18113: Fixed a refcount leak in the curses.panel module'
s
set_userptr
()
method
.
Reported
by
Atsuo
Ishimoto
.
...
...
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