<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/weakref.py, branch v2.6.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/weakref.py?h=v2.6.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/weakref.py?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-08-18T00:46:22Z</updated>
<entry>
<title>Update __all__ for cookielib, csv, os, and urllib2 for objects imported into</title>
<updated>2008-08-18T00:46:22Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2008-08-18T00:46:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=88f801d40944960f5bc7e0b8631674371a100f90'/>
<id>urn:sha1:88f801d40944960f5bc7e0b8631674371a100f90</id>
<content type='text'>
the module but exposed as part of the API.
</content>
</entry>
<entry>
<title>Fixed URL of PEP 205 in weakref's module docstring.</title>
<updated>2008-04-27T00:52:24Z</updated>
<author>
<name>Alexandre Vassalotti</name>
<email>alexandre@peadrop.com</email>
</author>
<published>2008-04-27T00:52:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba08f072d29f2108503a97bf495315e072ae7787'/>
<id>urn:sha1:ba08f072d29f2108503a97bf495315e072ae7787</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF #1479988: add methods to allow access to weakrefs for the</title>
<updated>2006-05-02T06:53:59Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2006-05-02T06:53:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=017e68c413be6262eb1e71b0f0c5676d6db33a43'/>
<id>urn:sha1:017e68c413be6262eb1e71b0f0c5676d6db33a43</id>
<content type='text'>
weakref.WeakKeyDictionary and weakref.WeakValueDictionary
</content>
</entry>
<entry>
<title>Bug #1196315: fix weakref.WeakValueDictionary constructor.</title>
<updated>2005-06-04T09:20:03Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-06-04T09:20:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9166e1a24ac7b15776ffd38e436fa51a9b002674'/>
<id>urn:sha1:9166e1a24ac7b15776ffd38e436fa51a9b002674</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use multi-line import</title>
<updated>2004-08-31T11:38:12Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2004-08-31T11:38:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=33ad28b68dd6caadc1e6cb8f917665d6270e7b25'/>
<id>urn:sha1:33ad28b68dd6caadc1e6cb8f917665d6270e7b25</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug #1012315:  weakref.WeakValueDictionary should override .has_key()</title>
<updated>2004-08-19T21:32:06Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-08-19T21:32:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=61146790992e0a00b76a6bf6ecc9e53289a1ecd7'/>
<id>urn:sha1:61146790992e0a00b76a6bf6ecc9e53289a1ecd7</id>
<content type='text'>
* Check the found object for a None value during a contains/has_key
  lookup.  Perhaps it will help the OP who is likely suffering from an
  occassional GC or threading object deletion after self.data is checked.

* Complete the previous patch by removing the unnecessary indirection
  for weak dict iterators.  Makes the code cleaner and more readable.
</content>
</entry>
<entry>
<title>Convert weak iterators to generator form.</title>
<updated>2004-08-13T07:12:45Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-08-13T07:12:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cc0def18685bab5b75e62d3c1780aa921b5f3396'/>
<id>urn:sha1:cc0def18685bab5b75e62d3c1780aa921b5f3396</id>
<content type='text'>
</content>
</entry>
<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>The default argument in dict.setdefault() defaults to None.</title>
<updated>2004-05-27T18:16:25Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-05-27T18:16:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=80ce6dd5642025f5cdf0ba5556f08df0803f5636'/>
<id>urn:sha1:80ce6dd5642025f5cdf0ba5556f08df0803f5636</id>
<content type='text'>
Add this default to weakref.WeakValueDictionary.setdefault()
and weakref.WeakKeyDictionary.setdefault() too.
</content>
</entry>
<entry>
<title>SF #904720:  dict.update should take a 2-tuple sequence like dict.__init_</title>
<updated>2004-03-04T08:25:44Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-04T08:25:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=31017aed36a5c5b0e4b16ca58bea09c9ce360134'/>
<id>urn:sha1:31017aed36a5c5b0e4b16ca58bea09c9ce360134</id>
<content type='text'>
(Championed by Bob Ippolito.)

The update() method for mappings now accepts all the same argument forms
as the dict() constructor.  This includes item lists and/or keyword
arguments.
</content>
</entry>
</feed>
