Logo
Explore Help
Sign In
public/nixpkgs
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
402a074cfe0d7855261e3dd84c829d8db3ab686e
nixpkgs/pkgs/development/interpreters/python/cpython/2.7
T
History
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:
https://github.com/python/cpython/blob/13ff24582c99dfb439b1af7295b401415e7eb05b/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.5.2-ctypes-util-find_library.patch
…
2.5.2-tkinter-x11.patch
…
2.6.2-ssl-threads.patch
…
2.6.5-export-PySignal_SetWakeupFd.patch
…
2.6.5-FD_SETSIZE.patch
…
2.6.5-ncurses-abi6.patch
…
2.7.3-dbm.patch
…
2.7.3-dylib.patch
…
2.7.3-getpath-exe-extension.patch
…
2.7.3-no-libm.patch
…
boot.nix
pkgs: refactor needless quoting of homepage meta attribute (#27809)
2017-08-01 22:03:30 +02:00
default.nix
python*: set thread stack size on musl
2018-03-20 08:14:04 -05:00
deterministic-build.patch
…
nix-store-mtime.patch
…
no-ldconfig.patch
python27: 2.7.12 -> 2.7.13
2016-12-24 16:00:31 +01:00
properly-detect-curses.patch
…
python-2.7-distutils-C++.patch
…
search-path.patch
…
use-correct-tcl-tk-on-darwin.patch
pythonPackages.tkinter: fix darwin build
2018-03-18 22:28:46 +01:00
Powered by Gitea Version: 1.27.3 Page: 1039ms Template: 7ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API