Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6a31bb5c
Commit
6a31bb5c
authored
Aug 31, 2015
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #24952: Clarify default argument of stack_size() in threading, thread
Patch from Mattip.
parent
fe2f2876
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
Doc/library/thread.rst
Doc/library/thread.rst
+2
-1
Doc/library/threading.rst
Doc/library/threading.rst
+2
-1
Misc/ACKS
Misc/ACKS
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/thread.rst
View file @
6a31bb5c
...
...
@@ -98,7 +98,8 @@ It defines the following constant and functions:
Return the thread stack size used when creating new threads. The optional
*size* argument specifies the stack size to be used for subsequently created
threads, and must be 0 (use platform or configured default) or a positive
integer value of at least 32,768 (32kB). If changing the thread stack size is
integer value of at least 32,768 (32kB). If *size* is not specified,
0 is used. If changing the thread stack size is
unsupported, the :exc:`error` exception is raised. If the specified stack size is
invalid, a :exc:`ValueError` is raised and the stack size is unmodified. 32kB
is currently the minimum supported stack size value to guarantee sufficient
...
...
Doc/library/threading.rst
View file @
6a31bb5c
...
...
@@ -194,7 +194,8 @@ This module defines the following functions and objects:
Return the thread stack size used when creating new threads. The optional
*size* argument specifies the stack size to be used for subsequently created
threads, and must be 0 (use platform or configured default) or a positive
integer value of at least 32,768 (32kB). If changing the thread stack size is
integer value of at least 32,768 (32 KiB). If *size* is not specified,
0 is used. If changing the thread stack size is
unsupported, a :exc:`ThreadError` is raised. If the specified stack size is
invalid, a :exc:`ValueError` is raised and the stack size is unmodified. 32kB
is currently the minimum supported stack size value to guarantee sufficient
...
...
Misc/ACKS
View file @
6a31bb5c
...
...
@@ -875,6 +875,7 @@ Nick Mathewson
Simon Mathieu
Laura Matson
Graham Matthews
mattip
Martin Matusiak
Dieter Maurer
Daniel May
...
...
Misc/NEWS
View file @
6a31bb5c
...
...
@@ -163,6 +163,9 @@ IDLE
Documentation
-------------
-
Issue
#
24952
:
Clarify
the
default
size
argument
of
stack_size
()
in
the
"threading"
and
"thread"
modules
.
Patch
from
Mattip
.
-
Issue
#
20769
:
Improve
reload
()
docs
.
Patch
by
Dorian
Pula
.
-
Issue
#
23589
:
Remove
duplicate
sentence
from
the
FAQ
.
Patch
by
Yongzhi
Pan
.
...
...
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