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
be1501b9
Kaydet (Commit)
be1501b9
authored
May 08, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix sys.flags to properly expose bytes_warning.
Closes issue #2790.
üst
98b9c07a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
test_sys.py
Lib/test/test_sys.py
+1
-1
sysmodule.c
Python/sysmodule.c
+2
-2
No files found.
Lib/test/test_sys.py
Dosyayı görüntüle @
be1501b9
...
...
@@ -357,7 +357,7 @@ class SysModuleTest(unittest.TestCase):
attrs
=
(
"debug"
,
"py3k_warning"
,
"division_warning"
,
"division_new"
,
"inspect"
,
"interactive"
,
"optimize"
,
"dont_write_bytecode"
,
"no_site"
,
"ignore_environment"
,
"tabcheck"
,
"verbose"
,
"unicode"
)
"unicode"
,
"bytes_warning"
)
for
attr
in
attrs
:
self
.
assert_
(
hasattr
(
sys
.
flags
,
attr
),
attr
)
self
.
assertEqual
(
type
(
getattr
(
sys
.
flags
,
attr
)),
int
,
attr
)
...
...
Python/sysmodule.c
Dosyayı görüntüle @
be1501b9
...
...
@@ -1178,9 +1178,9 @@ static PyStructSequence_Desc flags_desc = {
flags__doc__
,
/* doc */
flags_fields
,
/* fields */
#ifdef RISCOS
1
5
1
6
#else
1
4
1
5
#endif
};
...
...
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