nixpkgs/pkgs/development/interpreters/python/cpython
Will Dietz 9aa22191cf python*: set thread stack size on musl
Ensure recursion limit is reached before stack overflow.

Python does this for OSX and BSD:
13ff24582c/Python/thread_pthread.h (L22)

Size of 1MB chosen to match value in Alpine:
https://git.alpinelinux.org/cgit/aports/commit/main/python2/APKBUILD?id=2f35283fec8ec451fe5fb477dd32ffdcc0776e89

Manual testing via Alpine's test-stacksize.py crashes on these
previously, and works with these changes.
2018-03-20 08:14:04 -05:00
..
2.7 python*: set thread stack size on musl 2018-03-20 08:14:04 -05:00
3.4 python*: set thread stack size on musl 2018-03-20 08:14:04 -05:00
3.5 python*: set thread stack size on musl 2018-03-20 08:14:04 -05:00
3.6 python*: set thread stack size on musl 2018-03-20 08:14:04 -05:00
docs python33: end-of-life 2017-07-29 20:49:24 +02:00