• Ned Deily's avatar
    bpo-34602: Avoid failures setting macOS stack resource limit (GH-14546) · 5bbbc733
    Ned Deily yazdı
    Under some conditions the earlier fix for bpo-18075, "Infinite recursion
    tests triggering a segfault on Mac OS X", now causes failures on macOS
    when attempting to change stack limit with resource.setrlimit
    resource.RLIMIT_STACK, like regrtest does when running the test suite.
    The reverted change had specified a non-default stack size when linking
    the python executable on macOS.  As of macOS 10.14.4, the previous
    code causes a hard failure when running tests, although similar
    failures had been seen under some conditions under some earlier
    systems.  Reverting the change to the interpreter stack size at link
    time helped for release builds but caused some tests to fail when
    built --with-pydebug.  Try the opposite approach: continue to build
    the interpreter with an increased stack size on macOS and remove
    the failing setrlimit call in regrtest initialization.  This will
    definitely avoid the resource.RLIMIT_STACK error and should have
    no, or fewer, side effects.
    5bbbc733
Adı
Son kayıt (commit)
Son güncelleme
.azure-pipelines Loading commit data...
.github Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
m4 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...