Message164392
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> |
|
Date |
User |
Action |
Args |
2012-06-30 16:07:30 | sbt | set | recipients:
+ sbt, jaraco, ncoghlan, pitrou, eric.smith, tim.golden, eric.araujo, r.david.murray, brian.curtin, dabrahams, davide.rizzo, dlenski |
2012-06-30 16:07:30 | sbt | set | messageid: <1341072450.66.0.0658698533961.issue14243@psf.upfronthosting.co.za> |
2012-06-30 16:07:30 | sbt | link | issue14243 messages |
2012-06-30 16:07:30 | sbt | create | |
|