<p><br>
On Jul 24, 2013 7:25 AM, "Peter Otten" <__<a href="mailto:peter__@web.de">peter__@web.de</a>> wrote:<br>
><br>
> Ethan Furman wrote:<br>
><br>
> > So, my question boils down to:  in Python 3 how is dict.keys() different<br>
> > from dict?  What are the use cases?<br>
><br>
> I just grepped through /usr/lib/python3, and could not identify a single<br>
> line where some_object.keys() wasn't either wrapped in a list (or set,<br>
> sorted, max) call, or iterated over.<br>
><br>
> To me it looks like views are a solution waiting for a problem.</p>
<p>What do you mean? Why would you want to create a temporary list just to iterate over it explicitly or implicitly (set, sorted, max,...)?<br></p>
<p>Oscar<br>
</p>