Skip to content

gh-149473: Emit audit event on calling os.environ.clear()#149768

Merged
vstinner merged 4 commits into
python:mainfrom
vstinner:audit_clearenv
May 19, 2026
Merged

gh-149473: Emit audit event on calling os.environ.clear()#149768
vstinner merged 4 commits into
python:mainfrom
vstinner:audit_clearenv

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented May 13, 2026

@vstinner
Copy link
Copy Markdown
Member Author

cc @picnixz

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 13, 2026

Comment thread Doc/library/os.rst Outdated
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@vstinner
Copy link
Copy Markdown
Member Author

@picnixz: If the PR looks good to you, would you mind to formally approve it?

Copy link
Copy Markdown
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the versionadded stuff, LGTM

Comment thread Doc/library/os.rst
@vstinner vstinner merged commit 29415c0 into python:main May 19, 2026
55 checks passed
@vstinner vstinner deleted the audit_clearenv branch May 19, 2026 16:38
@miss-islington-app
Copy link
Copy Markdown

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 19, 2026

GH-150094 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants