This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author trent
Recipients larry, skrah, trent
Date 2012-08-21.22:06:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
>>> print(_have_functions)

/usr/include/utime.h exists.

FWIW, when I stepped through it a few nights ago, I remember that all the code paths eventually visited the point where the mtime gets converted into a decimal:

FAIL: test_utime (test.test_os.StatAttributeTests)
Traceback (most recent call last):
  File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/test/", line 331, in test_utime
    self._test_utime(self.fname, getattr, utime, 10)
  File "/home/buildslave/cpython/3.x.snakebite-freebsd91-amd64/build/Lib/test/", line 318, in _test_utime
    self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime"))
AssertionError: 1345497270.8923829 != 1345497270.892382

However, for the other errors:
    AssertionError: 1345497270884503433 != 1345497270884503000
    AssertionError: 1345497270888847634 != 1345497270888847000
....they'd get cast back before the assertEqual test would be done.

As for this:
    1345497270.8923829 != 1345497270.892382

The trailing 9 is getting lopped off, which results in the rounding errors.
Date User Action Args
2012-08-21 22:06:05trentsetrecipients: + trent, larry, skrah
2012-08-21 22:06:05trentsetmessageid: <>
2012-08-21 22:06:05trentlinkissue15745 messages
2012-08-21 22:06:04trentcreate