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 loewis
Recipients brian.curtin, jkloth, loewis, pitrou, python-dev, steve.dower, tim.golden, tim.peters
Date 2013-11-23.00:03:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385164987.05.0.31023571981.issue19715@psf.upfronthosting.co.za>
In-reply-to
Content
>> Then, the utime call in step 4 asked to set this to 
> You mean step 3, right? ("date back 10s")

No, I really meant step 4 (touch). The second touch call *really* steps backwards. I don't find that very surprising, since it is actually the first call that passes an actual time.

I can readily believe that Windows uses different rounding algorithm when creating a fresh file than Python uses when converting a float to a FILETIME.

> (note also how far 1385154213 is from 1303049222, but the test is
> careful to avoid that)

These are really entirely different values. 1385154213 is the number of seconds since 1970. 1303049222 is the dwLowDateTime of that timestamp, i.e. the lower 32-bit in units of 100 ns since 1601.

This test *does* fail because of a few nanoseconds - I don't understand why you claim that it cannot.
History
Date User Action Args
2013-11-23 00:03:07loewissetrecipients: + loewis, tim.peters, pitrou, tim.golden, jkloth, brian.curtin, python-dev, steve.dower
2013-11-23 00:03:07loewissetmessageid: <1385164987.05.0.31023571981.issue19715@psf.upfronthosting.co.za>
2013-11-23 00:03:07loewislinkissue19715 messages
2013-11-23 00:03:06loewiscreate