Message411278
In bpo-46417, I pushed a change to call _PyDebug_PrintTotalRefs() after destroying the interpreter. I backported locally this change to other Python versions to compare the progress on old Python versions:
./python -I -X showrefcount -c pass command:
* Python 3.7: [22636 refs, 7453 blocks]
* Python 3.8: [18082 refs, 5867 blocks]
* Python 3.9: [17786 refs, 5766 blocks]
* Python 3.10: [10725 refs, 3978 blocks]
* current main branch: [2957 refs, 1240 blocks]
Yeah, main is way better than Python 3.10! I pushed many changes in
bpo-46417 to clear most static types, it helps a lot! |
|
Date |
User |
Action |
Args |
2022-01-22 18:46:24 | vstinner | set | recipients:
+ vstinner, amaury.forgeotdarc, orsenthil, kylotan, christian.heimes, tlesher, phsilva, petr.viktorin, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, serhiy.storchaka, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, shihai1991, erlendaasland, koubaa, h-vetinari, TCsaba, kumaraditya, CharlieZhao |
2022-01-22 18:46:24 | vstinner | set | messageid: <1642877184.32.0.669468616822.issue1635741@roundup.psfhosted.org> |
2022-01-22 18:46:24 | vstinner | link | issue1635741 messages |
2022-01-22 18:46:24 | vstinner | create | |
|