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/2003-February/033025.html below:

[Python-Dev] Python 2.3a1's mandatory use of cyclic GC causes existing applications to fail

[Python-Dev] Python 2.3a1's mandatory use of cyclic GC causes existing applications to fail [Python-Dev] Python 2.3a1's mandatory use of cyclic GC causes existing applications to failGuido van Rossum guido@python.org
Wed, 05 Feb 2003 13:06:27 -0500
> Tim Peters writes:
>  > For example, create a new-style class and you've created cycles.
>  > If you have a customer who disables cyclic GC, they'll have to
>  > avoid other newer features too, or endure leaks.

[Fred]
> Why would creating new style classes create cycles?  The links between
> a type and derived types use weak references, which do not rely on the
> cycle GC support.

The class __dict__ contains methods, and the methods contain a
reference back to the class.  This is not a weak reference.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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