I'm using filecmp.cmp() to compare some files (surprise!).
The documentation says:-
Unless shallow is given and is false, files with identical
os.stat() signatures are taken to be equal.
I'm not setting shallow explicitly so it's True, thus the function
should be comparing the os.stat()
On 9/6/2010 1:18 PM, tinn...@isbd.co.uk wrote:
I'm using filecmp.cmp() to compare some files (surprise!).
The documentation says:-
Unless shallow is given and is false, files with identical
os.stat() signatures are taken to be equal.
Reword and read carefully: if shallow == True and
Terry Reedy tjre...@udel.edu wrote:
On 9/6/2010 1:18 PM, tinn...@isbd.co.uk wrote:
I'm using filecmp.cmp() to compare some files (surprise!).
The documentation says:-
Unless shallow is given and is false, files with identical
os.stat() signatures are taken to be equal.
On Sep 6, 1:11 pm, tinn...@isbd.co.uk wrote:
Terry Reedy tjre...@udel.edu wrote:
On 9/6/2010 1:18 PM, tinn...@isbd.co.uk wrote:
I'm using filecmp.cmp() to compare some files (surprise!).
The documentation says:-
Unless shallow is given and is false, files with identical