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
a86e0643
Kaydet (Commit)
a86e0643
authored
Nis 29, 2019
tarafından
xdegaye
Kaydeden (comit)
Victor Stinner
Nis 29, 2019
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-35952: Fix test.pythoninfo when the compiler is missing (GH-13007)
üst
843bf42a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
pythoninfo.py
Lib/test/pythoninfo.py
+11
-4
2019-04-29-11-47-06.bpo-35952.3uNuyo.rst
...S.d/next/Library/2019-04-29-11-47-06.bpo-35952.3uNuyo.rst
+1
-0
No files found.
Lib/test/pythoninfo.py
Dosyayı görüntüle @
a86e0643
...
@@ -571,10 +571,17 @@ def collect_cc(info_add):
...
@@ -571,10 +571,17 @@ def collect_cc(info_add):
except
ImportError
:
except
ImportError
:
args
=
CC
.
split
()
args
=
CC
.
split
()
args
.
append
(
'--version'
)
args
.
append
(
'--version'
)
proc
=
subprocess
.
Popen
(
args
,
try
:
stdout
=
subprocess
.
PIPE
,
proc
=
subprocess
.
Popen
(
args
,
stderr
=
subprocess
.
STDOUT
,
stdout
=
subprocess
.
PIPE
,
universal_newlines
=
True
)
stderr
=
subprocess
.
STDOUT
,
universal_newlines
=
True
)
except
OSError
:
# Cannot run the compiler, for example when Python has been
# cross-compiled and installed on the target platform where the
# compiler is missing.
return
stdout
=
proc
.
communicate
()[
0
]
stdout
=
proc
.
communicate
()[
0
]
if
proc
.
returncode
:
if
proc
.
returncode
:
# CC --version failed: ignore error
# CC --version failed: ignore error
...
...
Misc/NEWS.d/next/Library/2019-04-29-11-47-06.bpo-35952.3uNuyo.rst
0 → 100644
Dosyayı görüntüle @
a86e0643
Fix pythoninfo when the compiler is missing.
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