• Éric Araujo's avatar
    Fix incorrect mtime comparison in distutils (#11933). · 33af263d
    Éric Araujo yazdı
    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.
    33af263d
Adı
Son kayıt (commit)
Son güncelleme
..
command Loading commit data...
tests Loading commit data...
README Loading commit data...
__init__.py Loading commit data...
archive_util.py Loading commit data...
bcppcompiler.py Loading commit data...
ccompiler.py Loading commit data...
cmd.py Loading commit data...
config.py Loading commit data...
core.py Loading commit data...
cygwinccompiler.py Loading commit data...
debug.py Loading commit data...
dep_util.py Loading commit data...
dir_util.py Loading commit data...
dist.py Loading commit data...
emxccompiler.py Loading commit data...
errors.py Loading commit data...
extension.py Loading commit data...
fancy_getopt.py Loading commit data...
file_util.py Loading commit data...
filelist.py Loading commit data...
log.py Loading commit data...
msvc9compiler.py Loading commit data...
msvccompiler.py Loading commit data...
spawn.py Loading commit data...
sysconfig.py Loading commit data...
text_file.py Loading commit data...
unixccompiler.py Loading commit data...
util.py Loading commit data...
version.py Loading commit data...
versionpredicate.py Loading commit data...