From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62539 invoked by alias); 29 May 2016 02:40:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 56196 invoked by uid 89); 29 May 2016 02:35:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Moss, mitch, UD:os.stat, Mitch X-HELO: csmail.cs.umass.edu Received: from mdc1.cs.umass.edu (HELO csmail.cs.umass.edu) (128.119.240.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 29 May 2016 02:35:14 +0000 Received: from [192.168.0.5] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by csmail.cs.umass.edu (Postfix) with ESMTPSA id E0E3080000271B0EB9; Sat, 28 May 2016 22:35:12 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: cygwin python os.stat gives wrong ctime References: <574A486B.6000506@houseofpain.org> To: cygwin@cygwin.com From: Eliot Moss Message-ID: <4026b0f6-0514-576e-def4-c5fcd79148b9@cs.umass.edu> Date: Sun, 29 May 2016 10:58:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <574A486B.6000506@houseofpain.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00370.txt.bz2 On 5/28/2016 9:39 PM, Mitch Deoudes wrote: > According to the python docs, os.stat() gives the following for st_ctime: > > "|st_ctime| - platform dependent; time of most recent metadata change on Unix, or the time of > creation on Windows" cygwin emulates posix, so you should expect a posix-like result. That is what you're getting. I don't really see grounds for complaint. If you want a Windows python, Anaconda seems good ... Regards -- Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple