Neil Schemenauer wrote:
BTW, I suspect that documentation needs updating since I understand that the GC is no longer optional (the stdlib and/or the Python internals create reference cycles themselves).
Is it possible and might it be useful for those internal cycle-creating operations to increment a counter that was part of the gc trigger? Doing millions of 'safe' operations would then leave the counter alone and could have less effect in triggering gc.
tjr _______________________________________________ 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