<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/UserDict.py, branch v2.5c2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/UserDict.py?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/UserDict.py?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-02-25T22:38:04Z</updated>
<entry>
<title>- Patch 1433928:</title>
<updated>2006-02-25T22:38:04Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-02-25T22:38:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1968ad32cd7f46d9bb64826672ef68cdaee35288'/>
<id>urn:sha1:1968ad32cd7f46d9bb64826672ef68cdaee35288</id>
<content type='text'>
  - The copy module now "copies" function objects (as atomic objects).
  - dict.__getitem__ now looks for a __missing__ hook before raising
    KeyError.
  - Added a new type, defaultdict, to the collections module.
    This uses the new __missing__ hook behavior added to dict (see above).
</content>
</entry>
<entry>
<title>Use decorators.</title>
<updated>2005-01-16T00:16:11Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2005-01-16T00:16:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=75b64e65f10b04e3a2bdac6d0e3db289bbd796cb'/>
<id>urn:sha1:75b64e65f10b04e3a2bdac6d0e3db289bbd796cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The default argument in dict.setdefault() defaults to None.</title>
<updated>2004-05-27T09:41:04Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-05-27T09:41:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c139909611162e995321c09a32c4e42433e2655e'/>
<id>urn:sha1:c139909611162e995321c09a32c4e42433e2655e</id>
<content type='text'>
Add this default to UserDict.DictMixin.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>
<entry>
<title>Make sure the UserDict copies do not share the same underlying</title>
<updated>2003-12-21T22:19:08Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-12-21T22:19:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9014560412a2bd322170902a42ab965eee4b0c47'/>
<id>urn:sha1:9014560412a2bd322170902a42ab965eee4b0c47</id>
<content type='text'>
dictionary as the original.  This parallels MvL's change to
Lib/os.py 1.56.

Backport candidate.
</content>
</entry>
<entry>
<title>SF bug #849662.  Dramatically, improve comparison speed for "if shl == None".</title>
<updated>2003-12-04T20:04:09Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-12-04T20:04:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f477c884509ad5e6a4d2ef583dae9eb1cd6d125d'/>
<id>urn:sha1:f477c884509ad5e6a4d2ef583dae9eb1cd6d125d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #693753:  fix for bug 639806: default for dict.pop</title>
<updated>2003-03-06T23:54:28Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-06T23:54:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a3e1e4cd79abe7069c8bc20db65161dd8c68b305'/>
<id>urn:sha1:a3e1e4cd79abe7069c8bc20db65161dd8c68b305</id>
<content type='text'>
(contributed by Michael Stone.)
</content>
</entry>
<entry>
<title>typo in comment</title>
<updated>2003-01-31T03:30:09Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-01-31T03:30:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a17704ff18ab6aa678b346aa6f97faa37472929'/>
<id>urn:sha1:1a17704ff18ab6aa678b346aa6f97faa37472929</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF patch #667730: More DictMixin</title>
<updated>2003-01-22T01:39:06Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-01-22T01:39:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=51f3f1b7dce6d054891faf9959fc493e66e9f684'/>
<id>urn:sha1:51f3f1b7dce6d054891faf9959fc493e66e9f684</id>
<content type='text'>
Sebastien Keim pointed out that iterkeys and __contains__ require
their own definitions so their behavior will update when the
underlying method is subclassed.
</content>
</entry>
<entry>
<title>Bring UserDict in-sync with changes to dict.</title>
<updated>2002-11-27T08:29:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-11-27T08:29:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e4827eb2a2c9eed8911a6874866a224972ff40ab'/>
<id>urn:sha1:e4827eb2a2c9eed8911a6874866a224972ff40ab</id>
<content type='text'>
Constructor accepts optional keyword arguments after a optional items list.
Add fromkeys() as an alternate constructor from an iterable over keys.
Expand related unittests.
</content>
</entry>
</feed>
