# Bug report ### Bug description: ```python clips4@nixos ~/p/p/cpython (main) [2]> ./python -m test -R 3:3 test_import Using random seed: 4113035587 0:00:00 load avg: 2.84 Run 1 test sequentially in a single process 0:00:00 load avg: 2.84 [1/1] test_import beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more) 123:456 XXX XXX test_import leaked [52, 54, 51] references, sum=157 test_import leaked [34, 34, 33] memory blocks, sum=101 test_import failed (reference leak) == Tests result: FAILURE == 1 test failed: test_import Total duration: 29.2 sec Total tests: run=116 skipped=3 Total test files: run=1/1 failed=1 Result: FAILURE ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: Linux
Activity
[-]``test_importlib`` leaks references[/-][+]``test_import`` leaks references[/+]Eclips4 commentedon Dec 8, 2024
Bisected to 023b7d2
cc @markshannon
markshannon commentedon Dec 9, 2024
I'm looking into it.
markshannon commentedon Jan 8, 2025
#127519 was reverted