Author sbt
Recipients brian.curtin, dabrahams, davide.rizzo, dlenski, eric.araujo, eric.smith, jaraco, ncoghlan, pitrou, r.david.murray, sbt, tim.golden
Date 2012-06-30.16:07:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341072450.66.0.0658698533961.issue14243@psf.upfronthosting.co.za>
In-reply-to
Content
Rather than add a NamedTemporaryFile.delete_after() classmethod, would it not be simpler to just add a close_without_unlink() method to NamedTemporaryFile?

    with NamedTemporaryFile() as f:
        <write to f>
        f.close_without_unlink()
        with open(f.name, 'rb') as f:
            <read from f>
History
Date User Action Args
2012-06-30 16:07:30sbtsetrecipients: + sbt, jaraco, ncoghlan, pitrou, eric.smith, tim.golden, eric.araujo, r.david.murray, brian.curtin, dabrahams, davide.rizzo, dlenski
2012-06-30 16:07:30sbtsetmessageid: <1341072450.66.0.0658698533961.issue14243@psf.upfronthosting.co.za>
2012-06-30 16:07:30sbtlinkissue14243 messages
2012-06-30 16:07:30sbtcreate