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 puppet
Recipients Claudiu.Popa, koobs, larry, pitrou, puppet
Date 2014-08-03.15:17:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407079060.42.0.409824550243.issue19838@psf.upfronthosting.co.za>
In-reply-to
Content
So me and @larstiq have been sitting with this during the sprint here and we have figured out some things but haven't had the time to put together a patch.

If you put two p.touch() before starting the testing, it will not fail on BSD.

What we have found out so far is that during file creation the resolution of the timestamp is higher then at the touch attempt when a file exists.

The main issue as we see it is that os.stat can return a timestamp with more granularity than os.utime can set.
History
Date User Action Args
2014-08-03 15:17:40puppetsetrecipients: + puppet, pitrou, larry, Claudiu.Popa, koobs
2014-08-03 15:17:40puppetsetmessageid: <1407079060.42.0.409824550243.issue19838@psf.upfronthosting.co.za>
2014-08-03 15:17:40puppetlinkissue19838 messages
2014-08-03 15:17:40puppetcreate