We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
This shouldn't raise an exception:
>>>pathlib.PureWindowsPath('foo','a').with_name('a:b')ValueError:Invalidname'a:b'
(affects all versions of pathlib)
Thisshould raise an exception:
>>>pathlib.PurePath('foo','a').with_name('.')PurePosixPath('foo/.')
(affects 3.12 and up)
pathlib.PurePath.with_name()