diff options
author | Barney Gale <barney.gale@gmail.com> | 2023-10-11 03:45:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 03:45:11 (GMT) |
commit | b5f7777cb3ecae02d49e0b348968c1ff1ffe21f4 (patch) | |
tree | d73d8a086ed6c573d00c7b541c72bbbeb5ea5206 /Python/traceback.c | |
parent | 790ecf6302e47b84da5d1c3b14dbdf070bce615b (diff) | |
download | cpython-b5f7777cb3ecae02d49e0b348968c1ff1ffe21f4.zip cpython-b5f7777cb3ecae02d49e0b348968c1ff1ffe21f4.tar.gz cpython-b5f7777cb3ecae02d49e0b348968c1ff1ffe21f4.tar.bz2 |
GH-110488: Fix two small issues in `pathlib.PurePath.with_name()` (#110651)
Ensure that `PurePath('foo/a').with_name('.')` raises `ValueError`
Ensure that `PureWindowsPath('foo/a').with_name('a:b')` does not raise
`ValueError`.
Diffstat (limited to 'Python/traceback.c')
0 files changed, 0 insertions, 0 deletions