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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18027>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to