[Patches] [ python-Patches-662475 ] 642391: tempfile.mktemp() docs to include dir info

SourceForge.net noreply at sourceforge.net
Thu Sep 25 18:30:24 EDT 2003


Patches item #662475, was opened at 2003-01-05 05:41
Message generated for change (Settings changed) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=662475&group_id=5470

Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Christopher Blunck (blunck2)
>Assigned to: Martin v. Löwis (loewis)
Summary: 642391: tempfile.mktemp() docs to include dir info

Initial Comment:
added text that states that if a directory is not

provided to mktemp(), the system wide temporary

directory, or a suitable unique directory name is

prepended to the filename

----------------------------------------------------------------------

Comment By: Michael Bartl (midramas)
Date: 2003-09-25 00:35

Message:
Logged In: YES 
user_id=31511

I'd propose to close this patch due to the reasons given in

the comment from M.v. Loewis. Additionaly the

tempfile.mktemp() has been marked deprecated as of Python 2.3.



The same procedure could be applied to the original bug

#642391 since adding documentation to an insecure deprecated

function only gives the developers more choices on blasting

their systems.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-01-15 13:18

Message:
Logged In: YES 
user_id=21627

I don't think this patch addresses the concern of bug

642391. The issue is not in which directory the temporary

files are created, but whether the temporary files need to

be files. They need not: mktemp can also be used to create

temporary directories.



Of course, as mktemp suffers from security problems, using

mkdtemp (new in 2.3) is better to create temporary directories.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=662475&group_id=5470



More information about the Patches mailing list