3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/python
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
..
catch_conflicts python: Move catch_conflicts.py into subdirectory (#23600) 2017-04-01 12:22:36 +02:00
cpython python*: set thread stack size on musl 2018-03-20 08:14:04 -05:00
pypy/2.7 pypy: Doesn't support aarch64 2018-01-23 21:42:30 +02:00
build-python-package-common.nix
build-python-package-flit.nix
build-python-package-setuptools.nix buildPythonPackage: rename nix_run_setup.py to nix_run_setup 2018-01-20 13:31:14 +01:00
build-python-package-wheel.nix
build-python-package.nix python: Pull ensureNewerSourcesHook call to all-packages.nix 2018-02-13 16:32:16 +02:00
mk-python-derivation.nix python: Pull ensureNewerSourcesHook call to all-packages.nix 2018-02-13 16:32:16 +02:00
run_setup.py
setup-hook.nix Python: set DETERMINISTIC_BUILD and PYTHONHASHSEED in setupHook 2017-05-19 16:28:11 +02:00
setup-hook.sh Merge pull request #26805 from obsidiansystems/cross-elegant 2017-12-30 22:58:02 -05:00
with-packages.nix
wrap-python.nix
wrap.sh stdenv setup: Always use both propagated files 2017-11-21 10:44:44 -05:00
wrapper.nix python.buildEnv: always include the $out output 2017-12-10 15:21:35 +01:00