Skip to content

Commit

Permalink
[3.12] pythonGH-110488: Fix two small issues in `pathlib.PurePath.wit…
Browse files Browse the repository at this point in the history
…h_name()` (pythonGH-110651)

Ensure that `PurePath('foo/a').with_name('.')` raises `ValueError`

Ensure that `PureWindowsPath('foo/a').with_name('a:b')` does not raise
`ValueError`..
(cherry picked from commit b5f7777)

Co-authored-by: Barney Gale <[email protected]>
  • Loading branch information
barneygale committed Oct 11, 2023
1 parent 391f1de commit 431a653
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 431a653

Please sign in to comment.