Gentoo Archives: gentoo-council

From: Ulrich Mueller <ulm@g.o>
To: Zac Medico <zmedico@g.o>
Cc: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>, gentoo-council@l.g.o
Subject: Re: [gentoo-council] Re: mtime preservation
Date: Thu, 05 Nov 2009 09:12:04
Message-Id: 19186.38622.142523.951438@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-council] Re: mtime preservation by Zac Medico
>>>>> On Wed, 04 Nov 2009, Zac Medico wrote:
>>> Ah, I guess you're right. The documentation led me to believe that >>> os.utime would provide nanosecond-resolution on platforms that >>> support it, but a simple test case seems to indicate that it does not. >> >> Is there an os.utimes in Python? utime(2) is marked as obsolete in >> POSIX.1-2008 (says the man page).
> There is no separate os.utimes function, but it looks like the patch > on this bug might make os.utime behave as desired:
So let's declare it as a Python bug and include sub-second timestamps (where possible with the filesystem) in the spec? Anyway, I see this as a very minor issue. Ulrich