R. David Murray added the comment:

There's actually an issue about exactly that broken-per-docs issue for io.  IMO 
if the goal of calling close is to close only things that are generator objects 
or pretending to be one, the method should have been named close_generator or 
something.

----------

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

Reply via email to