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 Mark.Gius
Recipients Mark.Gius, gregory.p.smith, jcea, neologix
Date 2012-10-29.18:29:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351535345.63.0.597099627449.issue16327@psf.upfronthosting.co.za>
In-reply-to
Content
Here's more or less the same fix and test on 2.7.  I jumped through the hoop to preserve the original exception and traceback even if os.close() raises an exception.

This follows the 3.3 branch's cleanup behavior of silently suppressing errors in the cleanup code.
History
Date User Action Args
2012-10-29 18:29:05Mark.Giussetrecipients: + Mark.Gius, gregory.p.smith, jcea, neologix
2012-10-29 18:29:05Mark.Giussetmessageid: <1351535345.63.0.597099627449.issue16327@psf.upfronthosting.co.za>
2012-10-29 18:29:05Mark.Giuslinkissue16327 messages
2012-10-29 18:29:05Mark.Giuscreate