summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib/support/lexical_path.py
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2025-03-09 16:36:59 (GMT)
committerGitHub <noreply@github.com>2025-03-09 16:36:59 (GMT)
commitbbd6d17ef85e5de885cdfab0ae567184ba1550ff (patch)
treed88a51395eab6992fd37cee7a1de597fc94fb208 /Lib/test/test_pathlib/support/lexical_path.py
parentba64cc5db410a893e6ff5bfee9210207947b69c2 (diff)
downloadcpython-bbd6d17ef85e5de885cdfab0ae567184ba1550ff.zip
cpython-bbd6d17ef85e5de885cdfab0ae567184ba1550ff.tar.gz
cpython-bbd6d17ef85e5de885cdfab0ae567184ba1550ff.tar.bz2
GH-130614: pathlib ABCs: support alternate separator in `full_match()` (#130991)
In `pathlib.types._JoinablePath.full_match()`, treat alternate path separators in the path and pattern as if they were primary separators. e.g. if the parser is `ntpath`, then `P(r'foo/bar\baz').full_match(r'*\*/*')` is true.
Diffstat (limited to 'Lib/test/test_pathlib/support/lexical_path.py')
0 files changed, 0 insertions, 0 deletions