You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pathlib.PurePath.with_stem('') promotes file extension to stem #114610
Bug report
The
with_stem()call should raiseValueError, as it's impossible for a filename to have an empty stem and a non-empty suffix.Linked PRs
pathlib.PurePath.with_stem('')handling of file extensions #114612pathlib._abc.PurePathBase.with_suffix('.ext')handling of stems #114613