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
1 >>>>> On Wed, 04 Nov 2009, Zac Medico wrote:
2
3 >>> Ah, I guess you're right. The documentation led me to believe that
4 >>> os.utime would provide nanosecond-resolution on platforms that
5 >>> support it, but a simple test case seems to indicate that it does not.
6 >>
7 >> Is there an os.utimes in Python? utime(2) is marked as obsolete in
8 >> POSIX.1-2008 (says the man page).
9
10 > There is no separate os.utimes function, but it looks like the patch
11 > on this bug might make os.utime behave as desired:
12
13 > http://bugs.python.org/issue3425
14
15 So let's declare it as a Python bug and include sub-second timestamps
16 (where possible with the filesystem) in the spec?
17
18 Anyway, I see this as a very minor issue.
19
20 Ulrich