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/2001-November/018716.html below:

[Python-Dev] gc.garbage

[Python-Dev] gc.garbageNeil Schemenauer nas@python.ca
Mon, 26 Nov 2001 14:21:26 -0800
Tim Peters wrote:
> I notice the gc docs say:
> 
>     The following variable is provided for read-only access:
>                                            ^^^^^^^^^^^^^^^^
>     garbage
>         A list of objects which the collector found to be unreachable ...
> 
> This isn't clear to me.

It's not clear because it's nonsense.  I think I mean to say something
about the gc.garbage binding.  If you do something like:

    gc.garbage = "ha ha"

then the list is garbage is forever inaccessible from within Python.  Is
there some way to prevent people from assigning to certain module
variables?  That would be the correct way to fix it, IMHO.

  Neil



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