| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
if default_factory is set to a bound method.
Backport of r60663.
|
| |
|
|
| |
(backport from rev. 54162)
|
| | |
|
| |
|
|
|
|
| |
by regrtest.py.
We really need a simpler testing framework.
|
|
|
- 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).
|