It was deprecated in 3.13:
* :mod:`pathlib`: * Deprecate :meth:`.PurePath.is_reserved`, to be removed in Python 3.15. Use :func:`os.path.isreserved` to detect reserved paths on Windows. (Contributed by Barney Gale in :gh:`88569`.)
cpython/Lib/pathlib/__init__.py
Lines 521 to 531 in 9b9cdb6
I have a PR ready.
pythongh-133875: Remove deprecated `pathlib.PurePath.is_reserved`
gh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (#133876)
pythongh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (py…
Activity
pythongh-133875: Remove deprecated `pathlib.PurePath.is_reserved`
gh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (#133876)
pythongh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (py…
pythongh-133875: Remove deprecated `pathlib.PurePath.is_reserved` (py…