Message322569
configure.ac sets the stack size for the main thread on macOS to 1000000 (hex), while Python/threading_pthread.h sets the default stack size for other threads to 0x500000. The latter is half of the former.
IMHO both should be the same, as both claim to have been chosen to be just large enough to accommodate the default recursion limit.
I'd prefer to increase the default stack size of secondary threads to match the main thread. I tagged this as a 3.8 thread because there is a (very) small chance that changing the stack size breaks existing programs (although you'd have to create a lot of threads to use a significant amount of memory).
This is vaguely related to issue33955. |
|
Date |
User |
Action |
Args |
2018-07-28 16:00:44 | ronaldoussoren | set | recipients:
+ ronaldoussoren, ned.deily |
2018-07-28 16:00:44 | ronaldoussoren | set | messageid: <1532793644.93.0.56676864532.issue34264@psf.upfronthosting.co.za> |
2018-07-28 16:00:44 | ronaldoussoren | link | issue34264 messages |
2018-07-28 16:00:44 | ronaldoussoren | create | |
|