File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -914,6 +914,7 @@ Nick Mathewson
914914Simon Mathieu
915915Laura Matson
916916Graham Matthews
917+ mattip
917918Martin Matusiak
918919Dieter Maurer
919920Daniel May
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ Library
6464Documentation
6565-------------
6666
67+ - Issue #24952: Clarify the default size argument of stack_size() in
68+ the "threading" and "_thread" modules. Patch from Mattip.
69+
6770Tests
6871-----
6972
You can’t perform that action at this time.
0 commit comments