Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
4254e8c5
Kaydet (Commit)
4254e8c5
authored
Eyl 29, 2016
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
build_ext: correctly parse the link_objects user option (closes #1703178)
Patch by Valerie Lambert.
üst
c49b4d8e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
build_ext.py
Lib/distutils/command/build_ext.py
+1
-0
test_build_ext.py
Lib/distutils/tests/test_build_ext.py
+7
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/distutils/command/build_ext.py
Dosyayı görüntüle @
4254e8c5
...
...
@@ -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
Dosyayı görüntüle @
4254e8c5
...
...
@@ -195,6 +195,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
Dosyayı görüntüle @
4254e8c5
...
...
@@ -83,6 +83,9 @@ Core and Builtins
Library
-------
- Issue #1703178: Fix the ability to pass the --link-objects option to the
distutils build_ext command.
- Issue #28253: Fixed calendar functions for extreme months: 0001-01
and 9999-12.
...
...
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