Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30404

Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'.

References <e5a3b91c-0cbc-495d-b62f-ce16bb97db45@googlegroups.com> <CAPTjJmo8S0uH_7WTVo10evG_H697B8jC_Ghe6xn_Gp4-WjbXKw@mail.gmail.com> <k44f42$1v8$1@ger.gmane.org>
Date 2012-09-29 01:25 +1000
Subject Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'.
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1563.1348845921.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Sep 29, 2012 at 1:18 AM, Christian Heimes <christian@python.org> wrote:
> Am 28.09.2012 17:07, schrieb Chris Angelico:
> In the future please read the manual before replying! ;) You are wrong,
> ctime is *not* the creation time. It's the change time of the inode.
> It's updated whenever the inode is modified, e.g. metadata modifications
> like permission changes, link/unlink of hard links etc.

Whoops, my bad! Sorry. I was remembering some other APIs with similar
terminology.

Lesson: Check the docs, they're more reliable.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. 陈伟 <chenwei.address@gmail.com> - 2012-09-28 06:12 -0700
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Chris Angelico <rosuav@gmail.com> - 2012-09-29 01:07 +1000
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Christian Heimes <christian@python.org> - 2012-09-28 17:18 +0200
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Chris Angelico <rosuav@gmail.com> - 2012-09-29 01:25 +1000
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Nobody <nobody@nowhere.com> - 2012-09-28 18:22 +0100
  Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. "Kristen J. Webb" <kwebb@teradactyl.com> - 2012-09-28 11:48 -0600
    Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Nobody <nobody@nowhere.com> - 2012-09-29 20:24 +0100

csiph-web