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 vstinner
Recipients ammon_riley, pitrou, tarek, tseaver, vstinner
Date 2010-05-05.00:44:35
SpamBayes Score 0.00012207993
Marked as misclassified No
Message-id <1273020278.46.0.81321341346.issue4265@psf.upfronthosting.co.za>
In-reply-to
Content
Could you write a test? Use a fake file objects that raise (or not) an IOError on close(), and then check that close() was closed on both files. There are 4 cases: input.close() raises or not an exception, output.close() raises or not an exception.
History
Date User Action Args
2010-05-05 00:44:38vstinnersetrecipients: + vstinner, tseaver, pitrou, tarek, ammon_riley
2010-05-05 00:44:38vstinnersetmessageid: <1273020278.46.0.81321341346.issue4265@psf.upfronthosting.co.za>
2010-05-05 00:44:36vstinnerlinkissue4265 messages
2010-05-05 00:44:35vstinnercreate