<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_weakref.c, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_weakref.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_weakref.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-07-02T18:57:45Z</updated>
<entry>
<title>Make weak references subclassable:</title>
<updated>2004-07-02T18:57:45Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-07-02T18:57:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a4dd390bf653128de8bc2e99da64967c8cdf86e'/>
<id>urn:sha1:0a4dd390bf653128de8bc2e99da64967c8cdf86e</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>
</entry>
<entry>
<title>Fix ref(), proxy() docstrings, based on comments from David Abrahams.</title>
<updated>2002-08-02T20:23:40Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-08-02T20:23:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=610291cf5a14370951149844a694669eda1986ac'/>
<id>urn:sha1:610291cf5a14370951149844a694669eda1986ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Excise DL_EXPORT/DL_IMPORT from Modules/*.  Required adding a prototype</title>
<updated>2002-08-02T02:27:13Z</updated>
<author>
<name>Mark Hammond</name>
<email>mhammond@skippinet.com.au</email>
</author>
<published>2002-08-02T02:27:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc'/>
<id>urn:sha1:fe51c6d66e0fbf6a142036bee2c448bd7fe8fefc</id>
<content type='text'>
for Py_Main().

Thanks to Kalle Svensson and Skip Montanaro for the patches.
</content>
</entry>
<entry>
<title>Patch #568124: Add doc string macros.</title>
<updated>2002-06-13T20:33:02Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2002-06-13T20:33:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f'/>
<id>urn:sha1:14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert the ref() and proxy() implementations to use the new</title>
<updated>2001-10-23T21:12:47Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-10-23T21:12:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d429e8cdd98399b3c7eae55984463856de9281d'/>
<id>urn:sha1:0d429e8cdd98399b3c7eae55984463856de9281d</id>
<content type='text'>
PyArg_UnpackTuple() function (serves as an example and test case).
</content>
</entry>
<entry>
<title>Adjust the _weakref module to use the public API for the weak reference</title>
<updated>2001-10-05T22:00:24Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-10-05T22:00:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7f8cad548678b3b41da042e3c6544f3b36f28f2'/>
<id>urn:sha1:f7f8cad548678b3b41da042e3c6544f3b36f28f2</id>
<content type='text'>
objects.  This is now simply a shim to give weakref.py access to the
underlying implementation.
</content>
</entry>
<entry>
<title>Use new GC API.</title>
<updated>2001-08-29T23:54:21Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-08-29T23:54:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e83c00efd06dc8380d481f6c5f92d8c274ce6bd2'/>
<id>urn:sha1:e83c00efd06dc8380d481f6c5f92d8c274ce6bd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use METH_O where possible (two functions).  This does not lead to real</title>
<updated>2001-08-16T14:11:30Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-08-16T14:11:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7fdc0a183578c1c90623c4b9d4965897103f9160'/>
<id>urn:sha1:7fdc0a183578c1c90623c4b9d4965897103f9160</id>
<content type='text'>
performance changes since the affected functions are not expected to be
used frequently, but reduces the volume of code.
</content>
</entry>
<entry>
<title>Remove an obsolete comment and a "return" before fallig off the end of a</title>
<updated>2001-05-03T16:05:46Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-05-03T16:05:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9b03e59deb49750c7b095fdc6c4e62391e42b50d'/>
<id>urn:sha1:9b03e59deb49750c7b095fdc6c4e62391e42b50d</id>
<content type='text'>
void function.
</content>
</entry>
<entry>
<title>cleanup_helper():  Make sure we invalidate all reference objects</title>
<updated>2001-04-13T17:15:47Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-04-13T17:15:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2a5a5ca012fed6f1224ad225dd7e82e8b6448cd0'/>
<id>urn:sha1:2a5a5ca012fed6f1224ad225dd7e82e8b6448cd0</id>
<content type='text'>
                   before calling any callbacks.  This is important
                   since the callback objects only look at themselves
                   to determine that they are invalide.  This change
                   avoids a segfault when callbacks use a different
                   reference to an object in the process of being
                   deallocated.

This fixes SF bug #415660.
</content>
</entry>
</feed>
