Skip to content

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Oct 11, 2023

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 barney.gale@gmail.com

…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 <barney.gale@gmail.com>
@barneygale barneygale changed the title [3.12] GH-110488: Fix two small issues in pathlib.PurePath.with_name() (GH-110651 [3.12] GH-110488: Fix two small issues in pathlib.PurePath.with_name() (GH-110651) Oct 11, 2023
@barneygale barneygale enabled auto-merge (squash) October 11, 2023 04:07
@barneygale barneygale merged commit 9ffef4d into python:3.12 Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant