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/2004-November/049787.html below:

[Python-Dev] Re: weakref gc semantics

[Python-Dev] Re: weakref gc semantics [Python-Dev] Re: weakref gc semanticsTim Peters tim.peters at gmail.com
Fri Nov 5 02:42:15 CET 2004
[Greg Ewing]
> Maybe the callback shouldn't be passed the weakref object?
> I don't see what good that does anyway, since the weakref
> is just an empty shell by then, isn't it?

If it's a builtin weakref object, yes.  Weakref subclasses can add
useful data, though.  The way Python's weak dictionaries exploit this
was explained earlier in the thread.
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