Gentoo Archives: gentoo-council

From: Zac Medico <zmedico@g.o>
To: Ulrich Mueller <ulm@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 06:19:00
Message-Id: 4AF26E4E.3050702@gentoo.org
In Reply to: Re: [gentoo-council] Re: mtime preservation by Ulrich Mueller
Ulrich Mueller wrote:
>>>>>> 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: http://bugs.python.org/issue3425 -- Thanks, Zac

Replies

Subject Author
Re: [gentoo-council] Re: mtime preservation Ulrich Mueller <ulm@g.o>