◐ Shell
clean mode source ↗

GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` by barneygale · Pull Request #119124 · python/cpython

…one)`

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.

barneygale

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 19, 2024
…(None)` (pythonGH-119124)

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.
(cherry picked from commit 3c28510)

Co-authored-by: Barney Gale <barney.gale@gmail.com>

barneygale added a commit that referenced this pull request

May 19, 2024
…x(None)` (GH-119124) (#119183)

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.
(cherry picked from commit 3c28510)

Co-authored-by: Barney Gale <barney.gale@gmail.com>

estyxx pushed a commit to estyxx/cpython that referenced this pull request

Jul 17, 2024
…(None)` (python#119124)

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.