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 r.david.murray
Recipients Stepan.Wagner, r.david.murray
Date 2012-12-04.20:14:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354652076.22.0.194061837098.issue16610@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see the bug here.

Your for loop calls wrap.  Wrap calls emptygen.  Emptygen raises a StopIteration exception.  That exception is of course propagated upward (it isn't caught by wrap), and the loop stops.
History
Date User Action Args
2012-12-04 20:14:36r.david.murraysetrecipients: + r.david.murray, Stepan.Wagner
2012-12-04 20:14:36r.david.murraysetmessageid: <1354652076.22.0.194061837098.issue16610@psf.upfronthosting.co.za>
2012-12-04 20:14:36r.david.murraylinkissue16610 messages
2012-12-04 20:14:36r.david.murraycreate