pathlib breaking changes
pathlib 0.97 (December 10, 2013) is its newest release with breaking changes, 20 of them. The first: Removed pathlib.NTPath. Every breaking API change we have recorded in pathlib on PyPI: 21 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.0.1, released September 3, 2014.
Packages on PyPI run on Python. Python end of life dates.
pathlib 0.97 breaking changes
- Removed
pathlib.NTPath
pathlib.NTPath was removed in pathlib 0.97 pypi.org - Removed
pathlib.Path.__enter__
Path.__enter__ was removed in pathlib 0.97 pypi.org - Removed
pathlib.Path.__exit__
Path.__exit__ was removed in pathlib 0.97 pypi.org - Removed
pathlib.Path.__iter__
Path.__iter__ was removed in pathlib 0.97 pypi.org - Removed
pathlib.Path.raw_open
Path.raw_open was removed in pathlib 0.97 pypi.org - Removed
pathlib.Path.restat
Path.restat was removed in pathlib 0.97 pypi.org - Removed
pathlib.PureNTPath
pathlib.PureNTPath was removed in pathlib 0.97 pypi.org - Removed
pathlib.PurePath.__getitem__
PurePath.__getitem__ was removed in pathlib 0.97 pypi.org - Removed
pathlib.PurePath.as_bytes
PurePath.as_bytes was removed in pathlib 0.97 pypi.org - Removed
pathlib.PurePath.ext
PurePath.ext was removed in pathlib 0.97 pypi.org - Removed
pathlib.PurePath.normcase
PurePath.normcase was removed in pathlib 0.97 pypi.org - Removed
pathlib.PurePath.relative
PurePath.relative was removed in pathlib 0.97 pypi.org - Renamed
pathlib.Path.__getattr__
Use Path.with_name instead. pypi.org - Renamed
pathlib.PurePath.join
Use PurePath.joinpath instead. pypi.org - Signature changed
pathlib.Path.cwd
Was @classmethod def cwd(cls, use_openat=False); now @classmethod def cwd(cls). pypi.org - Signature changed
pathlib.Path.group
Was group; now def group(self). pypi.org - Signature changed
pathlib.Path.owner
Was owner; now def owner(self). pypi.org - Signature changed
pathlib.PurePath.__bytes__
Was __bytes__; now def __bytes__(self). pypi.org - Signature changed
pathlib.PurePath.parent
Was def parent(self, level=1); now parent. pypi.org - Signature changed
pathlib.PurePath.parents
Was def parents(self); now parents. pypi.org
pathlib 0.8 breaking changes
- Signature changed
pathlib.Path.touch
Was def touch(self, mode=511, exist_ok=True); now def touch(self, mode=438, exist_ok=True). pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.