Raymond Hettinger added the comment:

-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}

----------
assignee:  -> rhettinger

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23372>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to