Adding shallow argument in filecmp.dircmp

March 14, 2018
4 p.m.
In module filecmp, the normal functions cmp and cmpfiles do have a shallow attribute. But the dircmp class doesn't provide one, could we add it in the constructor ? In the implementation, it would only change the call to cmpfiles in def phase3 ? It could be useful for performance (same reason, the "shallow" parameter exists in the other two functions), when quickly comparing two directories.
2562
Age (days ago)
2562
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Vanden Eynde