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 lsowen
Recipients berker.peksag, lsowen, r.david.murray, rhettinger, skip.montanaro, vstinner, zach.ware
Date 2016-07-14.10:06:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468490792.14.0.845144552209.issue27497@psf.upfronthosting.co.za>
In-reply-to
Content
@berker.peksag: Good catch, thank you.  In my code base I'm using a slightly different implementation which does use an iterator, so I didn't even catch that the default django example was incorrect.

@skip.montanaro: That is exactly the one-liner I'm currently using.  Thank you for documenting it here in case anyone else is looking for the same.
History
Date User Action Args
2016-07-14 10:06:32lsowensetrecipients: + lsowen, skip.montanaro, rhettinger, vstinner, r.david.murray, berker.peksag, zach.ware
2016-07-14 10:06:32lsowensetmessageid: <1468490792.14.0.845144552209.issue27497@psf.upfronthosting.co.za>
2016-07-14 10:06:32lsowenlinkissue27497 messages
2016-07-14 10:06:32lsowencreate