This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients SilentGhost, justanr, rhettinger
Date 2015-02-01.18:00:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422813606.07.0.528769136833.issue23372@psf.upfronthosting.co.za>
In-reply-to
Content
-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}
History
Date User Action Args
2015-02-01 18:00:06rhettingersetrecipients: + rhettinger, SilentGhost, justanr
2015-02-01 18:00:06rhettingersetmessageid: <1422813606.07.0.528769136833.issue23372@psf.upfronthosting.co.za>
2015-02-01 18:00:06rhettingerlinkissue23372 messages
2015-02-01 18:00:05rhettingercreate