This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients PetrPy, lukasz.langa, serhiy.storchaka, terry.reedy
Date 2016-11-12.01:12:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478913120.57.0.987697157001.issue28632@psf.upfronthosting.co.za>
In-reply-to
Content
Given that the open is context managed
                with open(filename, encoding=encoding) as fp:
                    self._read(fp, filename)
how could fp not be closed?
History
Date User Action Args
2016-11-12 01:12:00terry.reedysetrecipients: + terry.reedy, lukasz.langa, serhiy.storchaka, PetrPy
2016-11-12 01:12:00terry.reedysetmessageid: <1478913120.57.0.987697157001.issue28632@psf.upfronthosting.co.za>
2016-11-12 01:12:00terry.reedylinkissue28632 messages
2016-11-12 01:12:00terry.reedycreate