Changes between Initial Version and Version 1 of Ticket #32557, comment 6


Ignore:
Timestamp:
Aug 8, 2022, 2:36:25 AM (21 months ago)
Author:
Thomas Grainger

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32557, comment 6

    initial v1  
    11You should be able to run gc.collect in a loop until no more objects get collected just before you unset your unraisablehook
     2
     3
     4Or just a constant number of gc.collect cycles 4 should be enough for anyone
     5https://github.com/python-trio/trio/blob/7b86d20549bba2629eb929a72022a19b999c91d5/trio/_core/tests/tutil.py#L55
Back to Top