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
16ee33ad
Kaydet (Commit)
16ee33ad
authored
Agu 06, 2006
tarafından
Andrew MacIntyre
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
test_threading now skips testing alternate thread stack sizes on
platforms that don't support changing thread stack size.
üst
d336e98e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
test_threading.py
Lib/test/test_threading.py
+10
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_threading.py
Dosyayı görüntüle @
16ee33ad
...
...
@@ -89,7 +89,12 @@ class ThreadTests(unittest.TestCase):
def
test_various_ops_small_stack
(
self
):
if
verbose
:
print
'with 256kB thread stack size...'
try
:
threading
.
stack_size
(
262144
)
except
thread
.
error
:
if
verbose
:
print
'platform does not support changing thread stack size'
return
self
.
test_various_ops
()
threading
.
stack_size
(
0
)
...
...
@@ -97,7 +102,12 @@ class ThreadTests(unittest.TestCase):
def
test_various_ops_large_stack
(
self
):
if
verbose
:
print
'with 1MB thread stack size...'
try
:
threading
.
stack_size
(
0x100000
)
except
thread
.
error
:
if
verbose
:
print
'platform does not support changing thread stack size'
return
self
.
test_various_ops
()
threading
.
stack_size
(
0
)
...
...
Misc/NEWS
Dosyayı görüntüle @
16ee33ad
...
...
@@ -53,6 +53,9 @@ Tests
- Bug #1535182: really test the xreadlines() method of bz2 objects.
- test_threading now skips testing alternate thread stack sizes on
platforms that don'
t
support
changing
thread
stack
size
.
Documentation
-------------
...
...
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