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, ezio.melotti, jaime.buelta, lars.gustaebel
Date 2010-02-22.01:39:40
SpamBayes Score 4.424225e-06
Marked as misclassified No
Message-id <1266802789.93.0.804931063555.issue7232@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch which expands on Jaime's patch. I was converting tests for #7944 and looked at test_tarfile, and implemented the same feature that he did.

All places where context managers should be used in the test, they are used. Includes a doc update with a small example.
History
Date User Action Args
2010-02-22 01:39:50brian.curtinsetrecipients: + brian.curtin, lars.gustaebel, ezio.melotti, jaime.buelta
2010-02-22 01:39:49brian.curtinsetmessageid: <1266802789.93.0.804931063555.issue7232@psf.upfronthosting.co.za>
2010-02-22 01:39:47brian.curtinlinkissue7232 messages
2010-02-22 01:39:47brian.curtincreate