delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/28/22:47:39

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=smTk19z6TWrB3Nxl
xDVAN0t9E9AQolrMnmQRha085V5Gyloy1JSJ/UkzDf+2KCs7vWFd/6kydIYd8IVr
HKa1OaJ5zrfawU+RTiG2oajAzY6Al6QxzIKasQMhC8+JuBj3BT5XGWYkRNyXYk/e
yT5b4QapVDw3SYELCgjEimEemcM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=8lMhR31AfU+lXlHrWF7r+v
fvg3o=; b=xklcUjQnoZqRal5eN0o1Y1dLVp0iP2Nf5xGWquZGanWcZyCHnPrO54
Xio+LOPZO38kq0blI85Y+uZhuh39fmMlewcuF43SYfxzLqF9J/Daz9G8BBnSZNzQ
zo6BRCyz3kekzTYZqd+kYOcmXaLhbvcj+anwgESqUKZhLEsTUyDOs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Reply-To: moss AT cs DOT umass DOT edu
Subject: Re: cygwin python os.stat gives wrong ctime
References: <574A486B DOT 6000506 AT houseofpain DOT org>
To: cygwin AT cygwin DOT com
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <4026b0f6-0514-576e-def4-c5fcd79148b9@cs.umass.edu>
Date: Sat, 28 May 2016 22:35:00 -0400
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>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019