Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-89812: Add pathlib.UnsupportedOperation #105926

Merged
merged 3 commits into from
Jun 22, 2023

Commits on Jun 19, 2023

  1. pythonGH-89812: Add pathlib.UnsupportedOperation

    This new exception type is raised instead of `NotImplementedError` when
    a path operation is not supported. It can be raised from `Path.readlink()`,
    `symlink_to()`, `hardlink_to()`, `owner()` and `group()`. In a future
    version of pathlib, it will be raised by `AbstractPath` for these methods
    and others, such as `AbstractPath.mkdir()` and `unlink()`.
    barneygale committed Jun 19, 2023
    Configuration menu
    Copy the full SHA
    8ca08fc View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Tweak docs

    barneygale committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    b3aed1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40ab724 View commit details
    Browse the repository at this point in the history