tristan seligmann sylypymjqrdahlttsymithrandizanet antoine pitrou 20080506 104723 0000 poboxcom writes back r29829 guido commented security hole warning tempfilemktemp comment warnings mktemp annoying often unavoidable thought whether warning restored 5 years later hopefully many uses mktemp removed going restore warning perhaps commented code deleted sorry revive thread mktemp useful file meant created another application eg launched subprocess could even daemon running different user example processing chain converts pdf temporary jpeg using external tool things jpeg dont want python actually create file generate unique filename correct way create temporary directory generate filename underneath directory use mithrandi ainil enbalandor faer ambar fri 08 aug 2008 143430 0200 pythondev warn mktemp