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 LambertDW
Recipients LambertDW, della, georg.brandl, rhettinger
Date 2009-02-23.20:13:41
SpamBayes Score 0.037825994
Marked as misclassified No
Message-id <1235420025.34.0.671783151581.issue5350@psf.upfronthosting.co.za>
In-reply-to
Content
Nice.  I had thought of this a while ago but found counter example,
probably using the empty iterator

def f():
    raise StopIteration
    yield


I didn't realize "next" had optional argument.
History
Date User Action Args
2009-02-23 20:13:45LambertDWsetrecipients: + LambertDW, georg.brandl, rhettinger, della
2009-02-23 20:13:45LambertDWsetmessageid: <1235420025.34.0.671783151581.issue5350@psf.upfronthosting.co.za>
2009-02-23 20:13:42LambertDWlinkissue5350 messages
2009-02-23 20:13:41LambertDWcreate