Stepan Wagner added the comment: 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 <rep...@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 <rep...@bugs.python.org> > <http://bugs.python.org/issue16610> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16610> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com