Guido van Rossum added the comment:

I appreciate the simplicity, but I don't think it is acceptable -- if the dict 
is large, materializing the entire list of keys/values/items might allocate a 
prohibitive amount of memory. It's worse if you have code that is expected to 
break out of the loop.

----------

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

Reply via email to