René's URL Explorer Experiment


Title: GH-121970: Fix ``gettext`` for audit events by AA-Turner · Pull Request #122651 · python/cpython · GitHub

Open Graph Title: GH-121970: Fix ``gettext`` for audit events by AA-Turner · Pull Request #122651 · python/cpython

X Title: GH-121970: Fix ``gettext`` for audit events by AA-Turner · Pull Request #122651 · python/cpython

Description: 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 h...

Open Graph Description: 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 directi...

X Description: 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 dir...

Opengraph URL: https://github.com/python/cpython/pull/122651

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:56bdd501-3264-50d0-d6cf-ed393040e97a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id822E:3B04AD:4FE84B:6DAB19:696A24D3
html-safe-nonceb23cb014847e85176ffe4b51c52ef6f57d9dd6628fe108d9b7566913048f020f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjJFOjNCMDRBRDo0RkU4NEI6NkRBQjE5OjY5NkEyNEQzIiwidmlzaXRvcl9pZCI6IjM1NjQyMDAxMzQ0MzUyODQxNzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac40fea774cafba5a86a2d1320af4f72225c3317b55a3080f79b0167c865628b83
hovercard-subject-tagpull_request:2002037007
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/122651/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/cad4feb25bee7b4397e10d57961097a6c04805a42bae17d163ff604d0be11d14/python/cpython/pull/122651
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cad4feb25bee7b4397e10d57961097a6c04805a42bae17d163ff604d0be11d14/python/cpython/pull/122651
og:image:altcc @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 directi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAA-Turner
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/122651#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122651
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122651
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/122651
Reloadhttps://github.com/python/cpython/pull/122651
Reloadhttps://github.com/python/cpython/pull/122651
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/122651
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/122651
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/122651#issue-comment-box
AA-Turnerhttps://github.com/AA-Turner
python:mainhttps://github.com/python/cpython/tree/main
AA-Turner:docs/audit-event-gettexthttps://github.com/AA-Turner/cpython/tree/docs/audit-event-gettext
GH-121970: Fix gettext for audit events https://github.com/python/cpython/pull/122651#top
AA-Turnerhttps://github.com/AA-Turner
python:mainhttps://github.com/python/cpython/tree/main
AA-Turner:docs/audit-event-gettexthttps://github.com/AA-Turner/cpython/tree/docs/audit-event-gettext
Conversation 3 https://github.com/python/cpython/pull/122651
Commits 1 https://github.com/python/cpython/pull/122651/commits
Checks 0 https://github.com/python/cpython/pull/122651/checks
Files changed https://github.com/python/cpython/pull/122651/files
Please reload this pagehttps://github.com/python/cpython/pull/122651
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 3, 2024https://github.com/python/cpython/pull/122651#issue-2446357430
Please reload this pagehttps://github.com/python/cpython/pull/122651
@rffontenellehttps://github.com/rffontenelle
#122629https://github.com/python/cpython/issues/122629
Improve and reorganise pyspecific #121970https://github.com/python/cpython/issues/121970
https://cpython-previews--122651.org.readthedocs.build/https://cpython-previews--122651.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/122651
https://github.com/AA-Turner
Fix gettext for audit eventshttps://github.com/python/cpython/pull/122651/commits/3a8cb8fe6b671abe57ba07ae8eae874c21e260a8
3a8cb8fhttps://github.com/python/cpython/pull/122651/commits/3a8cb8fe6b671abe57ba07ae8eae874c21e260a8
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Aug 3, 2024https://github.com/python/cpython/pull/122651#event-13750098073
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 3, 2024 https://github.com/python/cpython/pull/122651#ref-issue-2416621377
Improve and reorganise pyspecific #121970 https://github.com/python/cpython/issues/121970
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 3, 2024https://github.com/python/cpython/pull/122651#event-13750098247
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 3, 2024 https://github.com/python/cpython/pull/122651#ref-issue-2445438945
Translation strings for auditing events no longer have reST markup #122629 https://github.com/python/cpython/issues/122629
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
95f5c89https://github.com/python/cpython/commit/95f5c89b545beaafad73f05a695742da3e90bc41
Aug 3, 2024https://github.com/python/cpython/pull/122651#event-13750810921
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Aug 3, 2024https://github.com/python/cpython/pull/122651#issuecomment-2266996902
@AA-Turnerhttps://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/122651
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 3, 2024https://github.com/python/cpython/pull/122651#event-13750811793
miss-islingtonhttps://github.com/miss-islington
Aug 3, 2024 https://github.com/python/cpython/pull/122651#ref-commit-358d998
https://github.com/AA-Turner
https://github.com/miss-islington
pythonGH-121970https://github.com/python/cpython/issues/121970
: Fixhttps://github.com/miss-islington/cpython/commit/358d998852fff2a396f1161796ecce2a06325148
gettexthttps://github.com/miss-islington/cpython/commit/358d998852fff2a396f1161796ecce2a06325148
for audit events (https://github.com/miss-islington/cpython/commit/358d998852fff2a396f1161796ecce2a06325148
pythonGH-122651https://github.com/python/cpython/pull/122651
)https://github.com/miss-islington/cpython/commit/358d998852fff2a396f1161796ecce2a06325148
358d998https://github.com/miss-islington/cpython/commit/358d998852fff2a396f1161796ecce2a06325148
95f5c89https://github.com/miss-islington/cpython/commit/95f5c89b545beaafad73f05a695742da3e90bc41
miss-islingtonhttps://github.com/miss-islington
Aug 3, 2024 https://github.com/python/cpython/pull/122651#ref-commit-f833eab
https://github.com/AA-Turner
https://github.com/miss-islington
pythonGH-121970https://github.com/python/cpython/issues/121970
: Fixhttps://github.com/miss-islington/cpython/commit/f833eabbfbc6fd6fb93197c78fdd00b01ef7a4cf
gettexthttps://github.com/miss-islington/cpython/commit/f833eabbfbc6fd6fb93197c78fdd00b01ef7a4cf
for audit events (https://github.com/miss-islington/cpython/commit/f833eabbfbc6fd6fb93197c78fdd00b01ef7a4cf
pythonGH-122651https://github.com/python/cpython/pull/122651
)https://github.com/miss-islington/cpython/commit/f833eabbfbc6fd6fb93197c78fdd00b01ef7a4cf
f833eabhttps://github.com/miss-islington/cpython/commit/f833eabbfbc6fd6fb93197c78fdd00b01ef7a4cf
95f5c89https://github.com/miss-islington/cpython/commit/95f5c89b545beaafad73f05a695742da3e90bc41
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 3, 2024https://github.com/python/cpython/pull/122651#issuecomment-2266997988
GH-122653https://github.com/python/cpython/pull/122653
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/122651
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Aug 3, 2024https://github.com/python/cpython/pull/122651#event-13750817883
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
August 3, 2024 16:41https://github.com/python/cpython/pull/122651#event-13750819227
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 3, 2024https://github.com/python/cpython/pull/122651#issuecomment-2266998289
GH-122654https://github.com/python/cpython/pull/122654
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/122651
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Aug 3, 2024https://github.com/python/cpython/pull/122651#event-13750819400
AA-Turnerhttps://github.com/AA-Turner
Aug 3, 2024 https://github.com/python/cpython/pull/122651#ref-commit-8f1b385
https://github.com/miss-islington
https://github.com/AA-Turner
[3.12]https://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
GH-121970https://github.com/python/cpython/issues/121970
: Fixhttps://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
gettexthttps://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
for audit events (https://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
GH-122651https://github.com/python/cpython/pull/122651
) (https://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
#122654https://github.com/python/cpython/pull/122654
)https://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
8f1b385https://github.com/python/cpython/commit/8f1b385ad665209b61a14db66d10dd80deff2bee
GH-121970https://github.com/python/cpython/issues/121970
GH-122651https://github.com/python/cpython/pull/122651
95f5c89https://github.com/python/cpython/commit/95f5c89b545beaafad73f05a695742da3e90bc41
brandtbucherhttps://github.com/brandtbucher
Aug 7, 2024 https://github.com/python/cpython/pull/122651#ref-commit-87bbeba
https://github.com/AA-Turner
https://github.com/brandtbucher
pythonGH-121970https://github.com/python/cpython/issues/121970
: Fixhttps://github.com/brandtbucher/cpython/commit/87bbeba7925ec93e9151645ee486c3a12bc2becc
gettexthttps://github.com/brandtbucher/cpython/commit/87bbeba7925ec93e9151645ee486c3a12bc2becc
for audit events (https://github.com/brandtbucher/cpython/commit/87bbeba7925ec93e9151645ee486c3a12bc2becc
python#122651https://github.com/python/cpython/pull/122651
)https://github.com/brandtbucher/cpython/commit/87bbeba7925ec93e9151645ee486c3a12bc2becc
87bbebahttps://github.com/brandtbucher/cpython/commit/87bbeba7925ec93e9151645ee486c3a12bc2becc
blhsinghttps://github.com/blhsing
Aug 22, 2024 https://github.com/python/cpython/pull/122651#ref-commit-52a803f
https://github.com/AA-Turner
https://github.com/blhsing
pythonGH-121970https://github.com/python/cpython/issues/121970
: Fixhttps://github.com/blhsing/cpython/commit/52a803f0e94349697122e74dc999c00314e2e7c8
gettexthttps://github.com/blhsing/cpython/commit/52a803f0e94349697122e74dc999c00314e2e7c8
for audit events (https://github.com/blhsing/cpython/commit/52a803f0e94349697122e74dc999c00314e2e7c8
python#122651https://github.com/python/cpython/pull/122651
)https://github.com/blhsing/cpython/commit/52a803f0e94349697122e74dc999c00314e2e7c8
52a803fhttps://github.com/blhsing/cpython/commit/52a803f0e94349697122e74dc999c00314e2e7c8
Yhg1shttps://github.com/Yhg1s
Sep 2, 2024 https://github.com/python/cpython/pull/122651#ref-commit-4210a7d
https://github.com/miss-islington
https://github.com/AA-Turner
[3.13]https://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
GH-121970https://github.com/python/cpython/issues/121970
: Fixhttps://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
gettexthttps://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
for audit events (https://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
GH-122651https://github.com/python/cpython/pull/122651
) (https://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
#122653https://github.com/python/cpython/pull/122653
)https://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
4210a7dhttps://github.com/python/cpython/commit/4210a7d02ba6ea02c0baa8737fdcd5086a496618
GH-121970https://github.com/python/cpython/issues/121970
GH-122651https://github.com/python/cpython/pull/122651
95f5c89https://github.com/python/cpython/commit/95f5c89b545beaafad73f05a695742da3e90bc41
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122651
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Translation strings for auditing events no longer have reST markup https://github.com/python/cpython/issues/122629
Please reload this pagehttps://github.com/python/cpython/pull/122651
https://github.com/AA-Turner
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.