Message164392
| 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: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 |
|