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 <[email protected]>
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: <[email protected]>
2013-06-03 14:13:20nedbatlinkissue18111 messages
2013-06-03 14:13:20nedbatcreate