hai shi <shihai1991 at 126.com> added the comment: Hi, Antoine, pls review this PR if you have free time. Looks is_relative_to only catch valueError is good enough. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue37689> _______________________________________