Larry Hastings added the comment: And to further confirm, on my Linux machine with a ZFS partition:
* stat() returns nanosecond resolution. * I have utimensat(), which supports nanosecond resolution. * The test code correctly sets "utime.now = 1", so it correctly calls utimensat() with a time pointer of NULL. It still fails, but here the race is much closer: before: 1407191476502407010 after: 1407191476502090829 before <= after False If I run the test on a different filesystem (e.g. on /tmp which is ext4) the problem doesn't occur. My guess: it's ZFS's fault in both cases, it's not using the highest-precision timer available. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19838> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com