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 belopolsky
Recipients belopolsky
Date 2008-02-06.16:14:22
SpamBayes Score 0.0032422913
Marked as misclassified No
Message-id <1202314464.32.0.648730265908.issue2021@psf.upfronthosting.co.za>
In-reply-to
Content
In the spirit of files becoming context managers in 2.5, the attached
patch defines __enter__ and __exit__ methods for
tempfile.NamedTemporaryFile.

BTW, I was not able to add a "patch" keyword which seems appropriate here.
History
Date User Action Args
2008-02-06 16:14:24belopolskysetspambayes_score: 0.00324229 -> 0.0032422913
recipients: + belopolsky
2008-02-06 16:14:24belopolskysetspambayes_score: 0.00324229 -> 0.00324229
messageid: <1202314464.32.0.648730265908.issue2021@psf.upfronthosting.co.za>
2008-02-06 16:14:23belopolskylinkissue2021 messages
2008-02-06 16:14:23belopolskycreate