Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81174d7

Browse files
author
Martin Panter
committed
Issue #24952: Merge 3.5 into 3.6
2 parents 902adbb + e721b7c commit 81174d7

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

Doc/library/_thread.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ It defines the following constants and functions:
9393
Return the thread stack size used when creating new threads. The optional
9494
*size* argument specifies the stack size to be used for subsequently created
9595
threads, and must be 0 (use platform or configured default) or a positive
96-
integer value of at least 32,768 (32 KiB). If changing the thread stack size is
96+
integer value of at least 32,768 (32 KiB). If *size* is not specified,
97+
0 is used. If changing the thread stack size is
9798
unsupported, a :exc:`RuntimeError` is raised. If the specified stack size is
9899
invalid, a :exc:`ValueError` is raised and the stack size is unmodified. 32 KiB
99100
is currently the minimum supported stack size value to guarantee sufficient

Doc/library/threading.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ This module defines the following functions:
8989
Return the thread stack size used when creating new threads. The optional
9090
*size* argument specifies the stack size to be used for subsequently created
9191
threads, and must be 0 (use platform or configured default) or a positive
92-
integer value of at least 32,768 (32 KiB). If changing the thread stack size is
92+
integer value of at least 32,768 (32 KiB). If *size* is not specified,
93+
0 is used. If changing the thread stack size is
9394
unsupported, a :exc:`RuntimeError` is raised. If the specified stack size is
9495
invalid, a :exc:`ValueError` is raised and the stack size is unmodified. 32 KiB
9596
is currently the minimum supported stack size value to guarantee sufficient

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ Nick Mathewson
914914
Simon Mathieu
915915
Laura Matson
916916
Graham Matthews
917+
mattip
917918
Martin Matusiak
918919
Dieter Maurer
919920
Daniel May

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ Library
6464
Documentation
6565
-------------
6666

67+
- Issue #24952: Clarify the default size argument of stack_size() in
68+
the "threading" and "_thread" modules. Patch from Mattip.
69+
6770
Tests
6871
-----
6972

0 commit comments

Comments
 (0)