Remove deprecated `is_reserved` from `pathlib` · Issue #133875 · python/cpython · GitHub
Skip to content

Remove deprecated is_reserved from pathlib #133875

Description

@sobolevn

Feature or enhancement

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`.)

I have a PR ready.

Linked PRs

Metadata

Metadata

Assignees

Labels

stdlibStandard Library Python modules in the Lib/ directorytopic-pathlibtype-featureA feature request or enhancement
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions