[Patches] [ python-Patches-1175850 ] Allow weak referencing of classic classes

SourceForge.net noreply at sourceforge.net
Sun Apr 10 18:02:49 CEST 2005


Patches item #1175850, was opened at 2005-04-03 10:29
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1175850&group_id=5470

Category: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow weak referencing of classic classes

Initial Comment:
In Python 2.4, you can weakref instances of classic
classes but not the classes themselves.  Attached is a
patch which adds weakref support to classic classes.

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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-04-10 11:02

Message:
Logged In: YES 
user_id=80475

I'm curious why you would ever want to do this.  It is
somewhat rare to delete a class reference and, I presume,
rarer still to need a weak-reference to such a class.

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

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


More information about the Patches mailing list