Skip to content

GH-119113: Raise TypeError from pathlib.PurePath.with_suffix(None) - #119124

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-119113
May 19, 2024
Merged

barneygale merged 1 commit into
python:mainfrom
barneygale:gh-119113

Conversation

@barneygale

@barneygale barneygale commented May 17, 2024 •

Copy link
Copy Markdown
Contributor

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

…one)`

Restore behaviour from 3.12 when `path.with_suffix(None)` is called.
Comment thread Lib/pathlib/_abc.py Resolved
@barneygale
barneygale merged commit 3c28510 into python:main May 19, 2024
@miss-islington-app

Copy link
Copy Markdown

Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

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>
@bedevere-app

bedevere-app Bot commented May 19, 2024

Copy link
Copy Markdown

GH-119183 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label May 19, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant