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

SourceForge.net noreply@sourceforge.net
Wed, 15 Jan 2003 04:18:13 -0800


Patches item #662475, was opened at 2003-01-05 05:41
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: Nobody/Anonymous (nobody)
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: 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