]> granicus.if.org Git - python/commitdiff
SF bug #827902: ctime is not creation time
authorRaymond Hettinger <python@rcn.com>
Wed, 29 Oct 2003 00:46:19 +0000 (00:46 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 29 Oct 2003 00:46:19 +0000 (00:46 +0000)
New fix for this bug recognizes differing definitions on various systems.

Doc/lib/libposixpath.tex

index b3973e37ba4bc2e2f866772d9670f52607df8e41..aa790e7693b65b518b6c3b2994d4074384e94a1f 100644 (file)
@@ -84,8 +84,9 @@ not exist or is inaccessible.
 \end{funcdesc}
 
 \begin{funcdesc}{getctime}{path}
-Return the time of most recent content modification or metadata change
-for \var{path}.  The return
+Return the system's ctime which, on some systems (like \UNIX) is the
+time of the last change, and, on others (like Windows), is the
+creation time for \var{path}.  The return
 value is a number giving the number of seconds since the epoch (see the 
 \refmodule{time} module).  Raise \exception{os.error} if the file does
 not exist or is inaccessible.