Terry J. Reedy added the comment:

Given that the open is context managed
                with open(filename, encoding=encoding) as fp:
                    self._read(fp, filename)
how could fp not be closed?

----------
nosy: +terry.reedy

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

Reply via email to