<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Doc/lib/libweakref.tex, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>SF #1479988: add methods to allow access to weakrefs for the</title>
<updated>2006-05-02T06:53:59+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2006-05-02T06:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=52dd8758384537100f571c77261575e9fb958312'/>
<id>52dd8758384537100f571c77261575e9fb958312</id>
<content type='text'>
weakref.WeakKeyDictionary and weakref.WeakValueDictionary
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
weakref.WeakKeyDictionary and weakref.WeakValueDictionary
</pre>
</div>
</content>
</entry>
<entry>
<title>SF patch #1379023: document that a weakref callback is not invoked if the</title>
<updated>2005-12-29T17:43:08+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2005-12-29T17:43:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=5be8a591290f960f0b37623a199ccf27709349ed'/>
<id>5be8a591290f960f0b37623a199ccf27709349ed</id>
<content type='text'>
weakref object itself is deleted first.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
weakref object itself is deleted first.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add doctest for examples in libweakref.tex to test_weakref.</title>
<updated>2005-07-02T19:07:30+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-02T19:07:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d5e16a331c32671230747adda71fdd5404906755'/>
<id>d5e16a331c32671230747adda71fdd5404906755</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bug [ 1228904 ] weakref example broken</title>
<updated>2005-07-02T10:44:32+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-07-02T10:44:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=1bb8cbcd5dbae7338e57988f5c56bde89b7998eb'/>
<id>1bb8cbcd5dbae7338e57988f5c56bde89b7998eb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make weak references subclassable:</title>
<updated>2004-07-02T18:57:45+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-07-02T18:57:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=b2f80ec91de4ec374477be3d9fa1abb5f48ae63e'/>
<id>b2f80ec91de4ec374477be3d9fa1abb5f48ae63e</id>
<content type='text'>
- 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Complete the list of weakreferencable objects.</title>
<updated>2004-06-12T06:56:44+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-12T06:56:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=81d01bb066920cdca90b30c3125c7b0d0d0f0fda'/>
<id>81d01bb066920cdca90b30c3125c7b0d0d0f0fda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add weakref support to sockets and re pattern objects.</title>
<updated>2004-05-31T03:09:25+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-31T03:09:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=bfabab77ddc33819fd3552575c41cd0e6e64ad4e'/>
<id>bfabab77ddc33819fd3552575c41cd0e6e64ad4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>minor markup adjustments</title>
<updated>2004-02-03T20:55:15+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-02-03T20:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=0f8e2af957f01a05ffe8d768c7bb1441c1bb8b41'/>
<id>0f8e2af957f01a05ffe8d768c7bb1441c1bb8b41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Clarify minor point about the ref() and proxy() constructors.</title>
<updated>2004-02-03T19:44:26+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-02-03T19:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=40c6e283e929f56561c07cbfa0d0cad8396a8904'/>
<id>40c6e283e929f56561c07cbfa0d0cad8396a8904</id>
<content type='text'>
This matches what is already documented for corresponding feature of the C API.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches what is already documented for corresponding feature of the C API.
</pre>
</div>
</content>
</entry>
<entry>
<title>use consistent email address for Tim</title>
<updated>2003-12-30T16:15:35+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2003-12-30T16:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=607ff5f4526fd688fea7dddf871350fedf5c6614'/>
<id>607ff5f4526fd688fea7dddf871350fedf5c6614</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
