Message235187
-0 I could see some use cases for this, dict.fromkeys(contestants, factory=list), but it adds complexity to a core container API and it starts to overlap the use cases for collections.defaultdict().
Perhaps set comprehensions should remain the one-obvious-way-to-do-it:
{k : [] for k in contestants} |
|
Date |
User |
Action |
Args |
2015-02-01 18:00:06 | rhettinger | set | recipients:
+ rhettinger, SilentGhost, justanr |
2015-02-01 18:00:06 | rhettinger | set | messageid: <1422813606.07.0.528769136833.issue23372@psf.upfronthosting.co.za> |
2015-02-01 18:00:06 | rhettinger | link | issue23372 messages |
2015-02-01 18:00:05 | rhettinger | create | |
|