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

GH-119113: Raise TypeError from pathlib.PurePath.with_suffix(None)#119124
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-119113

Conversation

@barneygale

@barneygalebarneygale 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 threadLib/pathlib/_abc.py
@barneygale
barneygale merged commit 3c28510 into python:mainMay 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

Copy link
Copy Markdown

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

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and 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>
@JelleZijlstraJelleZijlstra mentioned this pull request May 28, 2024
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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale