A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-November/122674.html below:

[Python-Dev] cpython (3.2): add gc_collects to weakref tests

[Python-Dev] cpython (3.2): add gc_collects to weakref tests [Python-Dev] cpython (3.2): add gc_collects to weakref testsAntoine Pitrou solipsis at pitrou.net
Tue Nov 13 21:43:32 CET 2012
On Tue, 13 Nov 2012 21:26:51 +0100 (CET)
philip.jenvey <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/a580cf4ab940
> changeset:   80418:a580cf4ab940
> branch:      3.2
> parent:      80397:8a28c974f903
> user:        Philip Jenvey <pjenvey at 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.


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4