Chris Angelico <ros...@gmail.com>:

> Not all problems need to be solved perfectly :) But at very least, I
> would put a comment against your collect() call explaining what
> happens: that self.tools is involved in a refloop. Most Python code
> shouldn't have to call gc.collect(), so it's worth explaining why you
> are here.

Refloops also are nothing to be avoided. Let GC do its job and forget
about it.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to