[New-bugs-announce] [issue11993] Is it desired to distinguish new files from old with sub-second resolution?
John S. Gruber
report at bugs.python.org
Wed May 4 04:23:52 CEST 2011
New submission from John S. Gruber <johnsgruber at gmail.com>:
This report is meant to prompt discussion, if desired, on the advisability of distinguishing new files from old using subsecond data. (It isn't clear to me that it is important to do this.)
Some file systems keep sub-second modification times, but the number of seconds since the epoch grows to a very large number, and given the limited number of significant bits in floating point numbers, it's important to carry out this comparison carefully (or use some new integer data) so newly created files don't appear to be older than their source files due to rounding and other conversion anomalies. Current floats don't have the precision to hold both the number of seconds since the epoch and a nanosecond precision fractional second.
nosy: alexis, eric.araujo, jsjgruber, tarek
title: Is it desired to distinguish new files from old with sub-second resolution?
type: feature request
versions: Python 2.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce