Message235180
Not something I've noticed until today, but defaultdict.fromkeys only accepts an iterable of keys and an initial value. To set the default_factory for the newly created collection, you need to prod at the attribute itself.
This isn't a huge issue for me, however adding an optional default_factory to fromkeys would be a nice convenience. |
|
Date |
User |
Action |
Args |
2015-02-01 16:19:44 | justanr | set | recipients:
+ justanr |
2015-02-01 16:19:44 | justanr | set | messageid: <1422807584.64.0.426042157217.issue23372@psf.upfronthosting.co.za> |
2015-02-01 16:19:44 | justanr | link | issue23372 messages |
2015-02-01 16:19:44 | justanr | create | |
|