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 nedbat
Recipients Julian, ncoghlan, nedbat, r.david.murray, rhettinger, skrah, twouters
Date 2013-06-03.14:13:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370268800.14.0.939574665441.issue18111@psf.upfronthosting.co.za>
In-reply-to
Content
I find the workarounds mentioned here to be baroque and confusing.  The concept of a default value to return in the case of an empty iterator is straightforward.  I'm +1 on adding this as well.
History
Date User Action Args
2013-06-03 14:13:20nedbatsetrecipients: + nedbat, twouters, rhettinger, ncoghlan, r.david.murray, skrah, Julian
2013-06-03 14:13:20nedbatsetmessageid: <1370268800.14.0.939574665441.issue18111@psf.upfronthosting.co.za>
2013-06-03 14:13:20nedbatlinkissue18111 messages
2013-06-03 14:13:20nedbatcreate