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
577c8305
Kaydet (Commit)
577c8305
authored
Mar 13, 2012
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #14184: merge
üst
bd273c1e
7ca97d52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
NEWS
Misc/NEWS
+3
-0
thread_pthread.h
Python/thread_pthread.h
+12
-8
No files found.
Misc/NEWS
Dosyayı görüntüle @
577c8305
...
@@ -24,6 +24,9 @@ Core and Builtins
...
@@ -24,6 +24,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
14184
:
Increase
the
default
stack
size
for
secondary
threads
on
Mac
OS
X
to
avoid
interpreter
crashes
when
using
threads
on
10.7
.
-
Issue
#
14180
:
time
.
ctime
(),
gmtime
(),
time
.
localtime
(),
-
Issue
#
14180
:
time
.
ctime
(),
gmtime
(),
time
.
localtime
(),
datetime
.
date
.
fromtimestamp
(),
datetime
.
datetime
.
fromtimestamp
()
and
datetime
.
date
.
fromtimestamp
(),
datetime
.
datetime
.
fromtimestamp
()
and
datetime
.
datetime
.
utcfromtimestamp
()
now
raises
an
OverflowError
,
instead
of
datetime
.
datetime
.
utcfromtimestamp
()
now
raises
an
OverflowError
,
instead
of
...
...
Python/thread_pthread.h
Dosyayı görüntüle @
577c8305
...
@@ -19,14 +19,18 @@
...
@@ -19,14 +19,18 @@
#define THREAD_STACK_SIZE 0
/* use default stack size */
#define THREAD_STACK_SIZE 0
/* use default stack size */
#endif
#endif
#if (defined(__APPLE__) || defined(__FreeBSD__)) && defined(THREAD_STACK_SIZE) && THREAD_STACK_SIZE == 0
/* The default stack size for new threads on OSX and BSD is small enough that
/* The default stack size for new threads on OSX is small enough that
* we'll get hard crashes instead of 'maximum recursion depth exceeded'
* we'll get hard crashes instead of 'maximum recursion depth exceeded'
* exceptions.
* exceptions.
*
*
* The default stack sizes below are the empirically determined minimal stack
* The default stack size below is the minimal stack size where a
* sizes where a simple recursive function doesn't cause a hard crash.
* simple recursive function doesn't cause a hard crash.
*/
*/
#if defined(__APPLE__) && defined(THREAD_STACK_SIZE) && THREAD_STACK_SIZE == 0
#undef THREAD_STACK_SIZE
#define THREAD_STACK_SIZE 0x500000
#endif
#if defined(__FreeBSD__) && defined(THREAD_STACK_SIZE) && THREAD_STACK_SIZE == 0
#undef THREAD_STACK_SIZE
#undef THREAD_STACK_SIZE
#define THREAD_STACK_SIZE 0x400000
#define THREAD_STACK_SIZE 0x400000
#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