summaryrefslogtreecommitdiffstats
path: root/Python/mysnprintf.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-03-13 13:27:36 (GMT)
committerGitHub <noreply@github.com>2024-03-13 13:27:36 (GMT)
commit8e2aab7ad5e1c8b3360c1e1b80ddadc0845eaa3e (patch)
tree0c2173e534103d5baf8d794231497650e9c8e925 /Python/mysnprintf.c
parent186af3cf21705badec086ec16f231ac390747d3b (diff)
downloadcpython-8e2aab7ad5e1c8b3360c1e1b80ddadc0845eaa3e.zip
cpython-8e2aab7ad5e1c8b3360c1e1b80ddadc0845eaa3e.tar.gz
cpython-8e2aab7ad5e1c8b3360c1e1b80ddadc0845eaa3e.tar.bz2
gh-116604: Fix test_gc on free-threaded build (#116662)
The free-threaded GC only does full collections, so it uses a threshold that is a maximum of a fixed value (default 2000) and proportional to the number of live objects. If there were many live objects after the previous collection, then the threshold may be larger than 10,000 causing `test_indirect_calls_with_gc_disabled` to fail. This manually sets the threshold to `(1000, 0, 0)` for the test. The `0` disables the proportional scaling.
Diffstat (limited to 'Python/mysnprintf.c')
0 files changed, 0 insertions, 0 deletions