Message320415
The (non-portable) pthread APIs "pthread_get_stacksize_np()" and "pthread_get_stackaddr_np()" can be used to implement PyOS_CheckStack on macOS, which would give nicer behavior than crashing when the recursion limit is too high for the stack size of the current thread.
Creating a patch should be fairly easy, but does require C knowledge. |
|
Date |
User |
Action |
Args |
2018-06-25 11:18:15 | ronaldoussoren | set | recipients:
+ ronaldoussoren |
2018-06-25 11:18:15 | ronaldoussoren | set | messageid: <1529925495.69.0.56676864532.issue33955@psf.upfronthosting.co.za> |
2018-06-25 11:18:15 | ronaldoussoren | link | issue33955 messages |
2018-06-25 11:18:15 | ronaldoussoren | create | |
|