Antoine Pitrou added the comment:

This looks logical to me. The "finally" block is only entered if the "try" 
block is ever entered, but if you don't consume anything in the generator then 
the generator's code is never actually executed.

----------
nosy: +pitrou

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23227>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to