[issue18027] distutils should access stat_result timestamps via .st_*time attributes

Jakub Wilk report at bugs.python.org
Mon May 20 23:27:22 CEST 2013


New submission from Jakub Wilk:

Currently distutils accesses stat_result timestamps like this:

  os.stat(source)[ST_MTIME]

But, for compatibility with older Python versions, the above method gives you at most 1-second resolution. It should do it like this instead:

  os.stat(source).st_mtime

----------
assignee: eric.araujo
components: Distutils
messages: 189695
nosy: eric.araujo, jwilk, tarek
priority: normal
severity: normal
status: open
title: distutils should access stat_result timestamps via .st_*time attributes

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18027>
_______________________________________


More information about the Python-bugs-list mailing list