diff options
author | Victor Stinner <vstinner@python.org> | 2021-03-22 23:17:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 23:17:05 (GMT) |
commit | 10417dd15f135c179cf4234d1abe506915d802ff (patch) | |
tree | 52f4ff03b33cfae7565f0eed5f0dd0dff188c5d4 /Python/dynload_shlib.c | |
parent | 532e063fc2bf9e6e80550670ddc5dc5d2b1d2450 (diff) | |
download | cpython-10417dd15f135c179cf4234d1abe506915d802ff.zip cpython-10417dd15f135c179cf4234d1abe506915d802ff.tar.gz cpython-10417dd15f135c179cf4234d1abe506915d802ff.tar.bz2 |
bpo-41718: Reduce libregrtest runtest imports (GH-24980)
Move clear_caches() from libregrtest.refleak to libregrtest.utils to
avoid importing libregrtest.refleak when it's not needed.
clear_caches() now only calls re.purge() if 're' is in sys.modules.
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions