Changes between Initial Version and Version 1 of Ticket #32557, comment 6
- Timestamp:
- Aug 8, 2022, 2:36:25 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32557, comment 6
initial v1 1 1 You should be able to run gc.collect in a loop until no more objects get collected just before you unset your unraisablehook 2 3 4 Or just a constant number of gc.collect cycles 4 should be enough for anyone 5 https://github.com/python-trio/trio/blob/7b86d20549bba2629eb929a72022a19b999c91d5/trio/_core/tests/tutil.py#L55