Message25752
Logged In: YES
user_id=1188172
Hm. Looks like if the size is identical, but the mtime is
not, the file will be read even in shallow mode.
The filecmp docs say "Unless shallow is given and is false,
files with identical os.stat() signatures are taken to be
equal."
The filecmp.cmp docstring says "shallow: Just check stat
signature (do not read the files)"
Two questions arise:
- Should the file contents be compared in shallow mode if
the mtimes do not match?
- Should the mtimes matter in non-shallow mode? |
|
Date |
User |
Action |
Args |
2007-08-23 14:32:59 | admin | link | issue1234674 messages |
2007-08-23 14:32:59 | admin | create | |
|