Message288495
This command:
./python -c 'import runpy, typing; runpy.run_module("test")' -R 5:5 test_collections
Sometimes gives spurious failures like this:
test_collections leaked [0, 0, 3, -3, 3] memory blocks, sum=3
I think this is because ABC caches of typing.ChainMap, typing.Counter, and typing.DefaultDict are not cleared by refleak.py/dash_R_cleanup (presumably because inspect.isabstract returns False on those)
Adding a manual clean-up of these cashes to cleanup_cashes() fixes the "leak". |
|
Date |
User |
Action |
Args |
2017-02-23 23:47:48 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum |
2017-02-23 23:47:47 | levkivskyi | set | messageid: <1487893667.97.0.185214523378.issue29638@psf.upfronthosting.co.za> |
2017-02-23 23:47:47 | levkivskyi | link | issue29638 messages |
2017-02-23 23:47:47 | levkivskyi | create | |
|