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
62b32cb2
Commit
62b32cb2
authored
Sep 28, 2016
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Plain Diff
merge 3.5 (#1703178)
parents
cecb75e4
69d665d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
Lib/distutils/command/build_ext.py
Lib/distutils/command/build_ext.py
+1
-0
Lib/distutils/tests/test_build_ext.py
Lib/distutils/tests/test_build_ext.py
+7
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/build_ext.py
View file @
62b32cb2
...
...
@@ -166,6 +166,7 @@ class build_ext(Command):
self
.
include_dirs
.
append
(
plat_py_include
)
self
.
ensure_string_list
(
'libraries'
)
self
.
ensure_string_list
(
'link_objects'
)
# Life is easier if we're not forever checking for None, so
# simplify these options to empty lists if unset
...
...
Lib/distutils/tests/test_build_ext.py
View file @
62b32cb2
...
...
@@ -194,6 +194,13 @@ class BuildExtTestCase(TempdirManager,
cmd
.
finalize_options
()
self
.
assertEqual
(
cmd
.
rpath
,
[
'one'
,
'two'
])
# make sure cmd.link_objects is turned into a list
# if it's a string
cmd
=
build_ext
(
dist
)
cmd
.
link_objects
=
'one two,three'
cmd
.
finalize_options
()
self
.
assertEqual
(
cmd
.
link_objects
,
[
'one'
,
'two'
,
'three'
])
# XXX more tests to perform for win32
# make sure define is turned into 2-tuples
...
...
Misc/NEWS
View file @
62b32cb2
...
...
@@ -350,6 +350,9 @@ Library
pickling
and
text
representation
purposes
.
Patch
by
Emanuel
Barry
and
Serhiy
Storchaka
.
-
Issue
#
1703178
:
Fix
the
ability
to
pass
the
--
link
-
objects
option
to
the
distutils
build_ext
command
.
-
Issue
#
28019
:
itertools
.
count
()
no
longer
rounds
non
-
integer
step
in
range
between
1.0
and
2.0
to
1.
...
...
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