[Twisted-Python] Switch to tempfile.mkstemp?
James Y Knight
foom at fuhm.net
Mon Jan 9 13:27:08 EST 2006
On Jan 9, 2006, at 12:48 PM, Itamar Shtull-Trauring wrote:
> On Sun, 2006-01-08 at 21:58 -0700, James Knight wrote:
>> Author: foom
>> Date: Sun Jan 8 21:58:32 2006
>> New Revision: 15544
>> Use tempfile.mktemp instead of custom filename making.
>> Fixes issue1391.
> Now that we're using 2.3, can we switch to the more secure mkstemp?
AFAIK it is secure to use mktemp + open(.., O_EXCL|O_CREAT).
More information about the Twisted-Python