Author xdegaye
Recipients asvetlov, georg.brandl, gvanrossum, xdegaye
Date 2012-12-06.21:04:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354827883.66.0.0419724430279.issue16596@psf.upfronthosting.co.za>
In-reply-to
Content
When the generator is used in a for loop, the interpreter handles the
StopIteration in its eval loop, and the exception is not raised. So it may be
considered as confusing to have pdb behave differently with a generator
depending on its context. A way to fix this would be to not ignore the return
debug events, with the drawback of a more verbose debug process with
generators.
History
Date User Action Args
2012-12-06 21:04:43xdegayesetrecipients: + xdegaye, gvanrossum, georg.brandl, asvetlov
2012-12-06 21:04:43xdegayesetmessageid: <1354827883.66.0.0419724430279.issue16596@psf.upfronthosting.co.za>
2012-12-06 21:04:43xdegayelinkissue16596 messages
2012-12-06 21:04:43xdegayecreate