Author ronaldoussoren
Recipients nickpapior, ronaldoussoren
Date 2021-11-24.12:24:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm not sure what your code tries to accomplish, does it check that ``f.parent`` refers to the same location as ``ref_file``? A clearer solution for that would be ``f.parent.resolve() == ref_file.resolve()``. 


The argument to match, glob and rglob cannot be Paths because the argument is not a path but a pattern. Those are conceptually different.

What would ``Path("dir/").match(Path("*.py"))`` return?
Date User Action Args
2021-11-24 12:24:12ronaldoussorensetrecipients: + ronaldoussoren, nickpapior
2021-11-24 12:24:12ronaldoussorensetmessageid: <>
2021-11-24 12:24:12ronaldoussorenlinkissue45889 messages
2021-11-24 12:24:12ronaldoussorencreate