[issue14127] add st_*time_ns fields to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds

Larry Hastings report at bugs.python.org
Thu May 3 09:37:27 CEST 2012

Larry Hastings <larry at hastings.org> added the comment:

@haypo: Thanks for pointing that out buildbot failure!  The OpenIndiana buildbot was bit by a rounding error.  I fixed it by adding in a fudge factor it--I snuck in one last change just now.  I weakened the unit test as follows:

-            self.assertEqual(floaty, nanosecondy)
+            self.assertAlmostEqual(floaty, nanosecondy, delta=2)

Also: I'm leaving this issue open for now, to remind myself to add ns= to  utimensat and futimesat if they're still alive on June 15th.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list