On Tue, 13 Nov 2012 21:26:51 +0100 (CET) philip.jenvey <python-check...@python.org> wrote: > http://hg.python.org/cpython/rev/a580cf4ab940 > changeset: 80418:a580cf4ab940 > branch: 3.2 > parent: 80397:8a28c974f903 > user: Philip Jenvey <pjen...@underboss.org> > date: Tue Nov 13 12:26:31 2012 -0800 > summary: > add gc_collects to weakref tests > > files: > Lib/test/test_exceptions.py | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-)
While this is necessary for non-refcounted implementations, it does relax the requirement quite a bit for CPython (absence of reference cycles can be a significant feature). I think perhaps gc_collect() should be called only for non-CPython implementations. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com