Author eric.araujo
Recipients eric.araujo, jsjgruber, tarek
Date 2011-04-27.08:39:21
SpamBayes Score 9.08433e-11
Marked as misclassified No
Message-id <>
Hi!  Welcome to the joy of Python and thanks for the bug report and analysis.

> In researching a bug
Is it public?  I’d be curious to look at it.

> I was surprised that a newly created file was being replaced when
> being processed a second time
What created the file?  What king of “processing” happened after?

> I tracked the surprise to diff Lib/distutils/ @ 57642:9211a5d7d0b4
> where a comparison with a resolution of 1 second was replaced by a
> floating point comparison
Indeed.  The whole distutils codebase should use ST_MTIME or st_mtime consistently.

> Using all floating point doesn't resolve the issue as OS timestamped
> files can have more resolution than python floating point may hold,
If I understand this bug correctly, it’s a platform-specific limitation.  We can try changing all distutils files to use st_mtime and see if tests break.  Would you like to work on a additional test case to reproduce your bug?
Date User Action Args
2011-04-27 08:39:22eric.araujosetrecipients: + eric.araujo, tarek, jsjgruber
2011-04-27 08:39:22eric.araujosetmessageid: <>
2011-04-27 08:39:21eric.araujolinkissue11933 messages
2011-04-27 08:39:21eric.araujocreate