[Python-bugs-list] [ python-Bugs-642391 ] tempfile.mktemp() for
directories
SourceForge.net
noreply at sourceforge.net
Sat Oct 18 05:34:28 EDT 2003
Bugs item #642391, was opened at 2002-11-22 17:54
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=642391&group_id=5470
Category: Documentation
Group: Not a Bug
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Submitted By: Thomas Guettler (guettli)
Assigned to: Nobody/Anonymous (nobody)
Summary: tempfile.mktemp() for directories
Initial Comment:
Hi!
It would help newbies if you write in
the documentation of tempfile.mktemp()
That this function can be used to
create unique filenames
*or directories*.
Something like this: mktemp() can be used
to create filenames which can
me used to create temporary files
or directories.
I know this, you know it, but newbies don't.
Thank you for python and it's documentation!
thomas
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-10-18 11:34
Message:
Logged In: YES
user_id=21627
This problem should not be fixed: mktemp is documented as
unsafe and should not be used. Use mkdtemp instead to create
directories.
----------------------------------------------------------------------
Comment By: Christopher Blunck (blunck2)
Date: 2003-01-05 05:45
Message:
Logged In: YES
user_id=531881
see patch 662475
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=642391&group_id=5470
More information about the Python-bugs-list
mailing list