Skip to content

pathlib ABCs should not raise auditing events or deprecation warnings #113568

Closed

Description

@barneygale

Bug report

The (private) pathlib._abc.PathBase class raises auditing events in its implementations of glob(), rglob() and walk(). These events should only be raised from the concrete implementations of these methods in pathlib.Path, and not from the ABC.

Also, several methods raise deprecation warnings. Same deal there.

Linked PRs

Activity

  1. added a commit that references this issue on Dec 29, 2023
  2. added a commit that references this issue on Jan 5, 2024
  3. changed the title [-]pathlib ABCs should not raise auditing events[/-] [+]pathlib ABCs should not raise auditing events or deprecation warnings[/+] on Jan 5, 2024
  4. added 3 commits that reference this issue on Jan 5, 2024
  5. added 2 commits that reference this issue on Jan 22, 2024
  6. added 2 commits that reference this issue on Feb 11, 2024
  7. added 2 commits that reference this issue on Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixestopic-pathlibtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions