summaryrefslogtreecommitdiffstats
path: root/Python/dynload_os2.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-09 16:01:17 (GMT)
committerGitHub <noreply@github.com>2019-04-09 16:01:17 (GMT)
commit9c14061a2c2df9a9b84d0aab190a50c24a0d52f4 (patch)
tree7faaea60ae50ad901f4785eb922e4a20ea12f1e8 /Python/dynload_os2.c
parent4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d (diff)
downloadcpython-9c14061a2c2df9a9b84d0aab190a50c24a0d52f4.zip
cpython-9c14061a2c2df9a9b84d0aab190a50c24a0d52f4.tar.gz
cpython-9c14061a2c2df9a9b84d0aab190a50c24a0d52f4.tar.bz2
bpo-36560: Fix reference leak hunting in regrtest (GH-12744) (GH-12745)
Fix reference leak hunting in regrtest: compute also deltas (of reference count and file descriptor count) during warmup, to ensure that everything is initialized before starting to hunt reference leaks. Other changes: * Replace gc.collect() with support.gc_collect() in clear_caches() * dash_R() is now more quiet with --quiet option (don't display progress). * Precompute the full range for "for it in range(repcount):" to ensure that the iteration doesn't allocate anything new. * dash_R() now is responsible to call warm_caches(). (cherry picked from commit 5aaac94eeb44697e92b0951385cd557bc27e0f6a)
Diffstat (limited to 'Python/dynload_os2.c')
0 files changed, 0 insertions, 0 deletions