cpython/Lib/distutils
Éric Araujo 33af263d36 Fix incorrect mtime comparison in distutils (#11933).
This is a regression introduced in 9211a5d7d0b4, when uses of ST_MTIME
constants were changed to uses of st_mtime attributes.  As diagnosed in
the bug report, this change is not merely stylistic: st_mtime is a
float but ST_MTIME’s resolution is rounded to the seconds, so there was
a mismatch between the values seen by file_util and dep_util which
caused an sdist to be unnecessarily created a second time on an ext4
filesystem.

This patch has been tested by John S. Gruber, who reported the bug.
As this is a simple code revert, I think it’s okay to commit without a
unit test.
2011-08-02 03:16:12 +02:00
..
command Fix regression with distutils MANIFEST handing (#11104, #8688). 2011-07-31 02:04:00 +02:00
tests Fix regression with distutils MANIFEST handing (#11104, #8688). 2011-07-31 02:04:00 +02:00
README Issue #5052: make Distutils compatible with 2.3 again. 2009-02-27 12:53:34 +00:00
__init__.py bump to 2.7.2 final 2011-06-11 09:42:44 -05:00
archive_util.py Merged revisions 87277 via svnmerge from 2010-12-15 20:33:50 +00:00
bcppcompiler.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
ccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
cmd.py #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
config.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
core.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
cygwinccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
debug.py Issue #5052: removed backward compatibility information (out of date) 2009-01-25 22:09:10 +00:00
dep_util.py Fix incorrect mtime comparison in distutils (#11933). 2011-08-02 03:16:12 +02:00
dir_util.py Merged revisions 86601,86605 via svnmerge from 2010-11-20 20:02:41 +00:00
dist.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
emxccompiler.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
errors.py removed spurious spaces 2009-10-28 06:45:18 +00:00
extension.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
fancy_getopt.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
file_util.py Merged revisions 86223-86224,86226,86234 via svnmerge from 2010-11-06 04:06:18 +00:00
filelist.py removing the last remaning apply() calls 2009-10-03 00:07:35 +00:00
log.py #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils. 2009-09-21 13:41:08 +00:00
msvc9compiler.py Merged revisions 86438 via svnmerge from 2010-11-12 22:27:28 +00:00
msvccompiler.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
spawn.py Issue #9516: Change distutils to no longer globally attempt to check and 2011-06-28 19:40:39 -07:00
sysconfig.py Issue #9516: Change distutils to no longer globally attempt to check and 2011-06-28 19:40:39 -07:00
text_file.py massive import cleaning in Distutils 2009-12-21 01:22:46 +00:00
unixccompiler.py Two small fixes for the support for SDKs on MacOSX: 2010-06-27 12:36:16 +00:00
util.py Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell. 2011-05-15 16:44:27 +02:00
version.py Fix typo. 2009-03-28 00:48:48 +00:00
versionpredicate.py

README

This directory contains the Distutils package.

There's a full documentation available at:

    http://docs.python.org/distutils/

The Distutils-SIG web page is also a good starting point:

    http://www.python.org/sigs/distutils-sig/

WARNING : Distutils must remain compatible with 2.3

$Id$