[Python-bugs-list] [ python-Bugs-827902 ] ctime is not creation time

SourceForge.net noreply at sourceforge.net
Wed Oct 22 17:14:21 EDT 2003


Bugs item #827902, was opened at 2003-10-22 02:32
Message generated for change (Comment added) made by sjoerd
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=827902&group_id=5470

Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Robert Siemer (siemer)
Assigned to: Nobody/Anonymous (nobody)
Summary: ctime is not creation time

Initial Comment:
Hi!

http://python.org/doc/current/lib/module-os.path.html
says getctime() returns the creation time. But it
probably returns the ctime, which has nothing to do
with creation.

Bye,
Robert

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2003-10-22 23:14

Message:
Logged In: YES 
user_id=43607

ctime is change time.  Read the manual (stat(2)):
time_t        st_atime;    /* time of last access */
time_t        st_mtime;    /* time of last modification */
time_t        st_ctime;    /* time of last change */


----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2003-10-22 18:02

Message:
Logged In: YES 
user_id=21627

Why do you say ctime has nothing to do with creation? What 
else does ctime indicate?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=827902&group_id=5470



More information about the Python-bugs-list mailing list