Message152087
It's certainly intentional behaviour: all the defaultdict does is provide a __missing__ method. And as explained in
http://docs.python.org/library/stdtypes.html#mapping-types-dict
"No other operations or methods invoke __missing__()."
So it looks to me as though this issue should be either a doc issue, or a feature request for 3.3. Reclassifying as a doc issue. |
|
Date |
User |
Action |
Args |
2012-01-27 12:18:29 | mark.dickinson | set | recipients:
+ mark.dickinson, docs@python, joern |
2012-01-27 12:18:29 | mark.dickinson | set | messageid: <1327666709.51.0.257074064544.issue13887@psf.upfronthosting.co.za> |
2012-01-27 12:18:28 | mark.dickinson | link | issue13887 messages |
2012-01-27 12:18:28 | mark.dickinson | create | |
|