Issue 642391: tempfile.mktemp() for directories (original) (raw)
Issue642391
Created on 2002-11-22 16:54 by guettli, last changed 2022-04-10 16:05 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg13431 - (view) | Author: Thomas Guettler (guettli) * | Date: 2002-11-22 16:54 |
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 | ||
msg13432 - (view) | Author: Christopher Blunck (blunck2) | Date: 2003-01-05 04:45 |
Logged In: YES user_id=531881 see patch 662475 | ||
msg13433 - (view) | Author: Martin v. Löwis (loewis) * ![]() |
Date: 2003-10-18 09:34 |
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. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:05:55 | admin | set | github: 37519 |
2002-11-22 16:54:34 | guettli | create |