summaryrefslogtreecommitdiffstats
path: root/Python/Python-tokenize.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-04-16 20:05:12 (GMT)
committerGitHub <noreply@github.com>2024-04-16 20:05:12 (GMT)
commite05d202ebf0904cf0a980fde76f4a38bb8dc7c3b (patch)
tree289ec9acffb87e50e5308ce44cc2c02f7d7a1c7f /Python/Python-tokenize.c
parent241ed5f2cdd525de0e136d0e3ce70d5487721c10 (diff)
downloadcpython-e05d202ebf0904cf0a980fde76f4a38bb8dc7c3b.zip
cpython-e05d202ebf0904cf0a980fde76f4a38bb8dc7c3b.tar.gz
cpython-e05d202ebf0904cf0a980fde76f4a38bb8dc7c3b.tar.bz2
gh-117755: Remove tests on huge memory allocations (#117938)
Remove unreliable tests on huge memory allocations: * Remove test_maxcontext_exact_arith() of test_decimal. Stefan Krah, test author, agreed on removing the test: https://github.com/python/cpython/issues/114331#issuecomment-1925731273 * Remove test_constructor() tests of test_io. Sam Gross suggests remove them: https://github.com/python/cpython/pull/117809#pullrequestreview-2003889558 On Linux, depending how overcommit is configured, especially on Linux s390x, a huge memory allocation (half or more of the full address space) can succeed, but then the process will eat the full system swap and make the system slower and slower until the whole system becomes unusable. Moreover, these tests had to be skipped when Python is built with sanitizers.
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions