From: Tim Peters Date: Thu, 21 Nov 2002 16:32:11 +0000 (+0000) Subject: NamedTemporaryFile: clarify behavior based on confusions noted by a X-Git-Tag: v2.3c1~3334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3350b5bfd9be61b6567c60e15387a72ad0166564;p=thirdparty%2FPython%2Fcpython.git NamedTemporaryFile: clarify behavior based on confusions noted by a user, and spell out a x-platform use limitation. --- diff --git a/Doc/lib/libtempfile.tex b/Doc/lib/libtempfile.tex index c56110d76e9b..8bc9b4e960b8 100644 --- a/Doc/lib/libtempfile.tex +++ b/Doc/lib/libtempfile.tex @@ -59,8 +59,11 @@ The \var{dir}, \var{prefix} and \var{suffix} parameters are passed to \optional{, dir}} This function operates exactly as \function{TemporaryFile} does, except that the file is guaranteed to have a visible name in the file -system. That name can be retrieved from the \member{name} member of -the file object. +system (on \UNIX, the directory entry is not unlinked). That name can +be retrieved from the \member{name} member of the file object. Whether +the name can be used to open the file a second time, while the +named temporary file is still open, varies across platforms (it can +be so used on \UNIX; it cannot on Windows NT or later). \versionadded{2.3} \end{funcdesc}