[New-bugs-announce] [issue10148] st_mtime differs after shutil.copy2

Luke McCarthy report at bugs.python.org
Wed Oct 20 01:14:31 CEST 2010

New submission from Luke McCarthy <luke at iogopro.co.uk>:

When copying a file with shutil.copy2() between two ext4 filesystems on 64-bit Linux, the mtime of the destination file is different after the copy. It appears as if the resolution is slightly different, so the mtime is truncated slightly. For example:

source file mtime:      1287367331.8433506
destination file mtime: 1287367331.84335

components: Library (Lib)
messages: 119176
nosy: shaurz
priority: normal
severity: normal
status: open
title: st_mtime differs after shutil.copy2
type: behavior
versions: Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list