New submission from Ronald Oussoren <ronaldousso...@mac.com>:
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. ---------- components: Interpreter Core, macOS messages: 322569 nosy: ned.deily, ronaldoussoren priority: normal severity: normal stage: needs patch status: open title: Inconsistency between stack size in main thread and secondary threads on macOS type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34264> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com