This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients barry, eric.araujo, eric.smith, exarkun, giampaolo.rodola, loewis, martin.panter, meatballhat, milko.krachounov, ncoghlan, neologix, olemis, pitrou, tarek, vstinner
Date 2013-05-15.23:45:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368661548.32.0.944485298992.issue8604@psf.upfronthosting.co.za>
In-reply-to
Content
"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.
History
Date User Action Args
2013-05-15 23:45:48vstinnersetrecipients: + 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:48vstinnersetmessageid: <1368661548.32.0.944485298992.issue8604@psf.upfronthosting.co.za>
2013-05-15 23:45:48vstinnerlinkissue8604 messages
2013-05-15 23:45:48vstinnercreate