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 <[email protected]>
<http://bugs.python.org/issue28632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com