Files
cpython/Lib
Fred Drake 0a4dd390bf Make weak references subclassable:
- weakref.ref and weakref.ReferenceType will become aliases for each
  other

- weakref.ref will be a modern, new-style class with proper __new__
  and __init__ methods

- weakref.WeakValueDictionary will have a lighter memory footprint,
  using a new weakref.ref subclass to associate the key with the
  value, allowing us to have only a single object of overhead for each
  dictionary entry (currently, there are 3 objects of overhead per
  entry: a weakref to the value, a weakref to the dictionary, and a
  function object used as a weakref callback; the weakref to the
  dictionary could be avoided without this change)

- a new macro, PyWeakref_CheckRefExact(), will be added

- PyWeakref_CheckRef() will check for subclasses of weakref.ref

This closes SF patch #983019.
2004-07-02 18:57:45 +00:00
..
2004-03-08 16:57:19 +00:00
2004-03-03 16:34:31 +00:00
2004-03-03 16:34:31 +00:00
2004-07-02 18:57:45 +00:00
2004-02-12 17:35:32 +00:00
2004-03-20 22:18:03 +00:00
Fix
2004-07-01 14:52:10 +00:00
2003-11-20 13:38:01 +00:00
2004-05-18 04:24:02 +00:00
2004-06-01 04:36:51 +00:00
2003-05-05 14:16:41 +00:00
2004-07-01 14:28:36 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2004-06-02 00:42:36 +00:00
2003-06-29 16:59:43 +00:00
2004-04-10 16:39:32 +00:00
2004-02-12 17:35:32 +00:00
2003-02-27 20:14:51 +00:00
2004-02-12 17:35:32 +00:00
2004-02-12 17:35:32 +00:00
2004-05-14 16:31:56 +00:00
2003-02-27 23:18:46 +00:00
2003-12-17 20:43:33 +00:00
2004-06-07 02:07:15 +00:00
2003-01-31 00:35:58 +00:00
2004-06-02 17:40:43 +00:00
2003-11-11 19:39:17 +00:00
2003-02-27 20:14:51 +00:00
2003-05-27 06:30:52 +00:00
2004-02-12 17:35:32 +00:00
2004-06-26 19:42:10 +00:00
2004-03-26 23:24:00 +00:00
2004-03-14 07:54:37 +00:00
2003-02-27 20:14:51 +00:00
2004-01-18 20:29:55 +00:00
2003-12-17 20:43:33 +00:00
2004-02-12 17:35:32 +00:00
2004-07-02 18:57:45 +00:00