Message382392
Serhiy Storchaka:
> Why there are cycles at all? In normal case there should not be cycle and the result tuple should be destroyed when the iteration ends.
test_itertools creates a reference cycle *on purpose*. See test_zip_leak2.py simplified code, it comes from test_itertools. |
|
Date |
User |
Action |
Args |
2020-12-03 09:22:50 | vstinner | set | recipients:
+ vstinner, rhettinger, serhiy.storchaka, brandtbucher |
2020-12-03 09:22:50 | vstinner | set | messageid: <1606987370.05.0.242005564381.issue42536@roundup.psfhosted.org> |
2020-12-03 09:22:50 | vstinner | link | issue42536 messages |
2020-12-03 09:22:50 | vstinner | create | |
|