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 Stepan.Wagner
Recipients Stepan.Wagner, r.david.murray
Date 2012-12-04.21:01:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CACYzpoEGfMmaCt8YvSym56+zzrXT4PHrCYMdfUX83nwHn9sxRg@mail.gmail.com>
In-reply-to <1354653998.82.0.372295967268.issue16610@psf.upfronthosting.co.za>
Content
Thank you, I wasn't paying attention enough. It works as you describe.

On Tue, Dec 4, 2012 at 9:46 PM, R. David Murray <report@bugs.python.org>wrote:

>
> R. David Murray added the comment:
>
> The only way I was able to replicate that result was by removing the
> entire try/except block, including the yield.  In that case, wrap is no
> longer a generator, so the exception is raised before you enter the for
> loop.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16610>
> _______________________________________
>
History
Date User Action Args
2012-12-04 21:01:37Stepan.Wagnersetrecipients: + Stepan.Wagner, r.david.murray
2012-12-04 21:01:37Stepan.Wagnerlinkissue16610 messages
2012-12-04 21:01:37Stepan.Wagnercreate