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
d5c71b0c
Unverified
Kaydet (Commit)
d5c71b0c
authored
Kas 27, 2017
tarafından
Victor Stinner
Kaydeden (comit)
GitHub
Kas 27, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pythoninfo: add Py_DEBUG (#4198) (#4580)
(cherry picked from commit
afd055a5
)
üst
8a957534
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
pythoninfo.py
Lib/test/pythoninfo.py
+8
-0
No files found.
Lib/test/pythoninfo.py
Dosyayı görüntüle @
d5c71b0c
...
...
@@ -115,6 +115,14 @@ def collect_sys(info_add):
encoding
=
'
%
s/
%
s'
%
(
encoding
,
errors
)
info_add
(
'sys.
%
s.encoding'
%
name
,
encoding
)
# Were we compiled --with-pydebug or with #define Py_DEBUG?
Py_DEBUG
=
hasattr
(
sys
,
'gettotalrefcount'
)
if
Py_DEBUG
:
text
=
'Yes (sys.gettotalrefcount() present)'
else
:
text
=
'No (sys.gettotalrefcount() missing)'
info_add
(
'Py_DEBUG'
,
text
)
def
collect_platform
(
info_add
):
import
platform
...
...
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