Skip to content

GH-113568: Stop raising auditing events from pathlib ABCs#113571

Merged
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-113568
Jan 5, 2024
Merged

GH-113568: Stop raising auditing events from pathlib ABCs#113571
barneygale merged 1 commit into
python:mainfrom
barneygale:gh-113568

Conversation

@barneygale

@barneygale barneygale commented Dec 29, 2023

Copy link
Copy Markdown
Contributor

Raise auditing events in pathlib.Path.glob(), rglob() and walk(), but not in pathlib._abc.PathBase methods. Also move generation of a deprecation warning into pathlib.Path so it gets the right stack level.

Raise auditing events in `pathlib.Path.glob()`, `rglob()` and `walk()`,
but not in `pathlib._abc.PathBase` methods. Also move generation of a
deprecation warning into `pathlib.Path` so it gets the right stack level.
@barneygale
barneygale marked this pull request as ready for review December 29, 2023 17:58
@barneygale
barneygale merged commit 3c4e972 into python:main Jan 5, 2024
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
…on#113571)

Raise auditing events in `pathlib.Path.glob()`, `rglob()` and `walk()`,
but not in `pathlib._abc.PathBase` methods. Also move generation of a
deprecation warning into `pathlib.Path` so it gets the right stack level.
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…on#113571)

Raise auditing events in `pathlib.Path.glob()`, `rglob()` and `walk()`,
but not in `pathlib._abc.PathBase` methods. Also move generation of a
deprecation warning into `pathlib.Path` so it gets the right stack level.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…on#113571)

Raise auditing events in `pathlib.Path.glob()`, `rglob()` and `walk()`,
but not in `pathlib._abc.PathBase` methods. Also move generation of a
deprecation warning into `pathlib.Path` so it gets the right stack level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant