mirror of https://github.com/python/cpython
33af263d36
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. |
||
---|---|---|
.. | ||
command | ||
tests | ||
README | ||
__init__.py | ||
archive_util.py | ||
bcppcompiler.py | ||
ccompiler.py | ||
cmd.py | ||
config.py | ||
core.py | ||
cygwinccompiler.py | ||
debug.py | ||
dep_util.py | ||
dir_util.py | ||
dist.py | ||
emxccompiler.py | ||
errors.py | ||
extension.py | ||
fancy_getopt.py | ||
file_util.py | ||
filelist.py | ||
log.py | ||
msvc9compiler.py | ||
msvccompiler.py | ||
spawn.py | ||
sysconfig.py | ||
text_file.py | ||
unixccompiler.py | ||
util.py | ||
version.py | ||
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$