<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/UserDict.py, branch v2.5b2</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>- Patch 1433928:</title>
<updated>2006-02-25T22:38:04+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2006-02-25T22:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=ecccdc2966bfd2b9bc6b8016381731fe62c00fe8'/>
<id>ecccdc2966bfd2b9bc6b8016381731fe62c00fe8</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - 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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Use decorators.</title>
<updated>2005-01-16T00:16:11+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2005-01-16T00:16:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=7007cf282d39f14917b497a66787647581f9be56'/>
<id>7007cf282d39f14917b497a66787647581f9be56</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The default argument in dict.setdefault() defaults to None.</title>
<updated>2004-05-27T09:41:04+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-05-27T09:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=1fe731c2c2ba5bacb2065a45aa79bcd7a0d1dbb7'/>
<id>1fe731c2c2ba5bacb2065a45aa79bcd7a0d1dbb7</id>
<content type='text'>
Add this default to UserDict.DictMixin.setdefault() too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add this default to UserDict.DictMixin.setdefault() too.
</pre>
</div>
</content>
</entry>
<entry>
<title>SF #904720:  dict.update should take a 2-tuple sequence like dict.__init_</title>
<updated>2004-03-04T08:25:44+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-04T08:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=d31e0c6289652e5d997755b7bc93afc6f88070e0'/>
<id>d31e0c6289652e5d997755b7bc93afc6f88070e0</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure the UserDict copies do not share the same underlying</title>
<updated>2003-12-21T22:19:08+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-12-21T22:19:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=e9d4a8fa6131ede7ab44d4d2d6cbeb778146352e'/>
<id>e9d4a8fa6131ede7ab44d4d2d6cbeb778146352e</id>
<content type='text'>
dictionary as the original.  This parallels MvL's change to
Lib/os.py 1.56.

Backport candidate.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dictionary as the original.  This parallels MvL's change to
Lib/os.py 1.56.

Backport candidate.
</pre>
</div>
</content>
</entry>
<entry>
<title>SF bug #849662.  Dramatically, improve comparison speed for "if shl == None".</title>
<updated>2003-12-04T20:04:09+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-12-04T20:04:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=907caf57f7e4ca2f598b4019698d43ae2f1675f9'/>
<id>907caf57f7e4ca2f598b4019698d43ae2f1675f9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SF patch #693753:  fix for bug 639806: default for dict.pop</title>
<updated>2003-03-06T23:54:28+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-06T23:54:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=daa1aa7b866e26f0c811ed7725c44ee26574b3a0'/>
<id>daa1aa7b866e26f0c811ed7725c44ee26574b3a0</id>
<content type='text'>
(contributed by Michael Stone.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(contributed by Michael Stone.)
</pre>
</div>
</content>
</entry>
<entry>
<title>typo in comment</title>
<updated>2003-01-31T03:30:09+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2003-01-31T03:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=840a72fc063817b17da6016fef56be1d60e5f09b'/>
<id>840a72fc063817b17da6016fef56be1d60e5f09b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SF patch #667730: More DictMixin</title>
<updated>2003-01-22T01:39:06+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-01-22T01:39:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=301d780ddc439b7c8ff9d2b5b34a84991db92975'/>
<id>301d780ddc439b7c8ff9d2b5b34a84991db92975</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sebastien Keim pointed out that iterkeys and __contains__ require
their own definitions so their behavior will update when the
underlying method is subclassed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bring UserDict in-sync with changes to dict.</title>
<updated>2002-11-27T08:29:11+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-11-27T08:29:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=dc9279e3b156e101574a6e9b45fbef3c62208595'/>
<id>dc9279e3b156e101574a6e9b45fbef3c62208595</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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Constructor accepts optional keyword arguments after a optional items list.
Add fromkeys() as an alternate constructor from an iterable over keys.
Expand related unittests.
</pre>
</div>
</content>
</entry>
</feed>
