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 brian.curtin
Recipients brian.curtin, denversc
Date 2011-03-14.17:40:27
SpamBayes Score 0.0004688308
Marked as misclassified No
Message-id <1300124428.46.0.565735060966.issue11491@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a slightly updated version of the patch. If the assertEqual for any reason were to fail, the file wouldn't be closed, leading to a ResourceWarning. That'll work on 3.2+, but if this is backported consideration will have to be made there (try/finally, probably).

Otherwise, in concept I think this patch is alright.
History
Date User Action Args
2011-03-14 17:40:28brian.curtinsetrecipients: + brian.curtin, denversc
2011-03-14 17:40:28brian.curtinsetmessageid: <1300124428.46.0.565735060966.issue11491@psf.upfronthosting.co.za>
2011-03-14 17:40:27brian.curtinlinkissue11491 messages
2011-03-14 17:40:27brian.curtincreate