[Patches] [ python-Patches-1379023 ] weakref callbacks are called only if the weakref is alive

SourceForge.net noreply at sourceforge.net
Mon Dec 12 22:34:22 CET 2005


Patches item #1379023, was opened at 2005-12-12 23:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1379023&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Noam Raphael (noamr)
Assigned to: Nobody/Anonymous (nobody)
Summary: weakref callbacks are called only if the weakref is alive

Initial Comment:
Weak reference objects have an optional callback
argument, which is a function that is called when the
original object is killed. This function is called only
if the created weakref object is still alive. This fact
isn't mentioned in the documentation - this patch
mentions it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1379023&group_id=5470


More information about the Patches mailing list