File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Fix a reference leak when creating a :class: `threading.Thread ` after
22setting a small custom stack size with :func: `threading.stack_size ` in
33debug and sanitizer builds. Those builds need extra C stack, so
4- :func: `!_thread.stack_size ` now requires 6 stack margins (as ThreadSanitizer
5- already did). Sizes that previously appeared to work (for example 127 KiB
6- on 64-bit debug/ASan builds) now raise :exc: `ValueError `. Release builds
7- are unchanged. Patch by Kailash Nelson.
4+ :func: `!_thread.stack_size ` now requires 6 stack margins on debug/ASan/UBSan
5+ builds and 12 on ThreadSanitizer builds (which only use half the stack).
6+ Sizes that previously appeared to work (for example 127 KiB on 64-bit
7+ debug/ASan builds) now raise :exc: `ValueError `. Release builds are
8+ unchanged. Patch by Kailash Nelson.
You can’t perform that action at this time.
0 commit comments