Message189329
"I prefer to use tempfile.NamedTemporaryFile because it is portable and well tested. It also uses a random suffix. On Windows, the O_TEMPORARY flag is passed to os.open(), ..."
Oh, and it sets also the close-on-exec safe, which is also more secure. |
|
Date |
User |
Action |
Args |
2013-05-15 23:45:48 | vstinner | set | recipients:
+ vstinner, loewis, barry, exarkun, ncoghlan, pitrou, eric.smith, giampaolo.rodola, tarek, eric.araujo, olemis, meatballhat, milko.krachounov, neologix, martin.panter |
2013-05-15 23:45:48 | vstinner | set | messageid: <1368661548.32.0.944485298992.issue8604@psf.upfronthosting.co.za> |
2013-05-15 23:45:48 | vstinner | link | issue8604 messages |
2013-05-15 23:45:48 | vstinner | create | |
|