Message256805
So, I'm required to re-implement NamedTemporaryFile by hand like that:
fd, name = tempfile.mkstemp(...)
try:
with io.open(fd, ...) as fff:
fff.write('hello')
fff.flush()
os.fdatasync(fff)
os.rename(name, ...)
except:
os.unlink(name)
raise
This is sad to see... |
|
Date |
User |
Action |
Args |
2015-12-21 19:13:10 | socketpair | set | recipients:
+ socketpair, georg.brandl, ncoghlan, pitrou, vstinner, r.david.murray, berker.peksag, serhiy.storchaka, Eduardo.Seabra |
2015-12-21 19:13:10 | socketpair | set | messageid: <1450725190.38.0.594139112009.issue21579@psf.upfronthosting.co.za> |
2015-12-21 19:13:10 | socketpair | link | issue21579 messages |
2015-12-21 19:13:10 | socketpair | create | |
|