Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '*not*': 0.07; 'apis': 0.07; "subject:' ": 0.07; 'sep': 0.09; 'wrong,': 0.09; 'subject:not': 0.11; 'sat,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; "subject:'.": 0.16; 'subject:between': 0.16; 'wrote:': 0.17; 'permission': 0.20; 'received:209.85.214.174': 0.21; 'changes,': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message- id:@mail.gmail.com': 0.27; 'chris': 0.28; 'modified,': 0.29; 'subject:other': 0.29; 'subject:what': 0.29; 'manual': 0.29; 'e.g.': 0.30; 'subject:last': 0.30; 'subject:change': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'christian': 0.34; 'updated': 0.34; 'similar': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'more': 0.63; 'remembering': 0.84; '1:18': 0.91; 'sorry.': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=sv/o5yyYaRwD63NapfYV5fH2gHTwmSwRt91lvgNns6s=; b=F3x4E+WUrHpymuR7gYYzk/00MM3NmnNXVAd3dTIXmuWTYMPiZ0+oP6HvOSrU7hsdHl WWoYVqIGv03vTSKVgr9vehJOVqp2A7bg4rNCUhLxNIIQhNPUJlfY0M5ygEYP/EDTE5FC LekV7/KFCE6pDgklzToXjtkK7kVKLuiGhN/+jxnOfw5t07dt2foaonrmU3AHDNVArat6 eUtswZn3LEYuPWdVg/2xfgM/QQFlDBTYIX9eNbKciLanGxwK2e58udmq6li+8QqV8Ztf 5A3p4YYujNw4Gxy7R/ONRogyYjo33kZDolTwOR0NfDGWZlh6zQ/Yk+BrdkXwGQzsauyo dyRQ== MIME-Version: 1.0 In-Reply-To: References: Date: Sat, 29 Sep 2012 01:25:18 +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 To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348845921 news.xs4all.nl 6896 [2001:888:2000:d::a6]:40564 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30404 On Sat, Sep 29, 2012 at 1:18 AM, Christian Heimes 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