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
f6c69e6c
Kaydet (Commit)
f6c69e6c
authored
Kas 01, 2014
tarafından
Steve Dower
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#22734 marshal needs a lower stack depth for debug builds on Windows
üst
53683965
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
test_marshal.py
Lib/test/test_marshal.py
+1
-1
marshal.c
Python/marshal.c
+1
-1
No files found.
Lib/test/test_marshal.py
Dosyayı görüntüle @
f6c69e6c
...
@@ -188,7 +188,7 @@ class BugsTestCase(unittest.TestCase):
...
@@ -188,7 +188,7 @@ class BugsTestCase(unittest.TestCase):
head
=
last
=
[]
head
=
last
=
[]
# The max stack depth should match the value in Python/marshal.c.
# The max stack depth should match the value in Python/marshal.c.
if
os
.
name
==
'nt'
and
hasattr
(
sys
,
'gettotalrefcount'
):
if
os
.
name
==
'nt'
and
hasattr
(
sys
,
'gettotalrefcount'
):
MAX_MARSHAL_STACK_DEPTH
=
1
5
00
MAX_MARSHAL_STACK_DEPTH
=
1
0
00
else
:
else
:
MAX_MARSHAL_STACK_DEPTH
=
2000
MAX_MARSHAL_STACK_DEPTH
=
2000
for
i
in
range
(
MAX_MARSHAL_STACK_DEPTH
-
2
):
for
i
in
range
(
MAX_MARSHAL_STACK_DEPTH
-
2
):
...
...
Python/marshal.c
Dosyayı görüntüle @
f6c69e6c
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
* On Windows debug builds, reduce this value.
* On Windows debug builds, reduce this value.
*/
*/
#if defined(MS_WINDOWS) && defined(_DEBUG)
#if defined(MS_WINDOWS) && defined(_DEBUG)
#define MAX_MARSHAL_STACK_DEPTH 1
5
00
#define MAX_MARSHAL_STACK_DEPTH 1
0
00
#else
#else
#define MAX_MARSHAL_STACK_DEPTH 2000
#define MAX_MARSHAL_STACK_DEPTH 2000
#endif
#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