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 gvanrossum
Recipients BreamoreBoy, ajaksu2, benjamin.peterson, dcjim, elachuni, gvanrossum, jon, kristjan.jonsson, mark.dickinson, pitrou, qelan, tseaver, vdupras, vstinner
Date 2013-12-02.00:19:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385943571.78.0.892980480759.issue7105@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-12-02 00:19:31gvanrossumsetrecipients: + gvanrossum, dcjim, tseaver, mark.dickinson, pitrou, kristjan.jonsson, vstinner, ajaksu2, jon, benjamin.peterson, vdupras, elachuni, BreamoreBoy, qelan
2013-12-02 00:19:31gvanrossumsetmessageid: <1385943571.78.0.892980480759.issue7105@psf.upfronthosting.co.za>
2013-12-02 00:19:31gvanrossumlinkissue7105 messages
2013-12-02 00:19:31gvanrossumcreate