Message164646
The documentation for the dircmp class doesn't say that the same_files and diff_files attributes are determined using the "shallow=True" rules described in the filecmp.cmp() and filecmp.cmpfiles(). It should say this.
For example, the documentation describes diff_files as, "Files which are in both a and b, whose contents differ." But this isn't true since files whose contents differ aren't included if their os.stat() signatures are equal.
See also issue 12932 to allow dircmp to perform non-shallow comparisons. |
|
Date |
User |
Action |
Args |
2012-07-04 14:36:07 | chris.jerdonek | set | recipients:
+ chris.jerdonek, docs@python |
2012-07-04 14:36:07 | chris.jerdonek | set | messageid: <1341412567.68.0.918159350909.issue15250@psf.upfronthosting.co.za> |
2012-07-04 14:36:06 | chris.jerdonek | link | issue15250 messages |
2012-07-04 14:36:06 | chris.jerdonek | create | |
|