Skip to content

GH-121970: Fix gettext for audit events - #122651

Merged
AA-Turner merged 1 commit into
python:mainfrom
AA-Turner:docs/audit-event-gettext
Aug 3, 2024
Merged

AA-Turner merged 1 commit into
python:mainfrom
AA-Turner:docs/audit-event-gettext

Conversation

@AA-Turner

@AA-Turner AA-Turner commented Aug 3, 2024 •

Copy link
Copy Markdown
Member

cc @rffontenelle

This improves upon the previous situation slightly, as now we don't output strings for translation that will never be used (e.g. sys.addaudithook, where the audit-event directive has content.

Fixes #122629.

A


📚 Documentation preview 📚: https://cpython-previews--122651.org.readthedocs.build/

@miss-islington-app

Copy link
Copy Markdown

Thanks @AA-Turner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 3, 2024
(cherry picked from commit 95f5c89)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 3, 2024
(cherry picked from commit 95f5c89)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented Aug 3, 2024

Copy link
Copy Markdown

GH-122653 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Aug 3, 2024
@AA-Turner
AA-Turner deleted the docs/audit-event-gettext branch August 3, 2024 16:41
@bedevere-app

bedevere-app Bot commented Aug 3, 2024

Copy link
Copy Markdown

GH-122654 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Aug 3, 2024
AA-Turner added a commit that referenced this pull request Aug 3, 2024
GH-121970: Fix ``gettext`` for audit events (GH-122651)
(cherry picked from commit 95f5c89)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
brandtbucher pushed a commit to brandtbucher/cpython that referenced this pull request Aug 7, 2024
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
Yhg1s pushed a commit that referenced this pull request Sep 2, 2024
GH-121970: Fix ``gettext`` for audit events (GH-122651)
(cherry picked from commit 95f5c89)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

1 participant