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-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to