René's URL Explorer Experiment


Title: gh-92592: Allow logging filters to return a LogRecord. (GH-92591) by adriangb · Pull Request #92591 · python/cpython · GitHub

Open Graph Title: gh-92592: Allow logging filters to return a LogRecord. (GH-92591) by adriangb · Pull Request #92591 · python/cpython

X Title: gh-92592: Allow logging filters to return a LogRecord. (GH-92591) by adriangb · Pull Request #92591 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Closes #92592 https://discuss.python.org/t/expand-logging-filter-api-to-allow-returning-a-logrecord

X Description: Closes #92592 https://discuss.python.org/t/expand-logging-filter-api-to-allow-returning-a-logrecord

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:f48d14c1-99e5-b0c5-3a3a-2d9ab7c96b58
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0D2:256EA0:C2B719:1032BEC:69699868
html-safe-nonceb7d945685346f05da6db0823417b2c9311b76fd91058b992652b74f4a95dcd6b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEQyOjI1NkVBMDpDMkI3MTk6MTAzMkJFQzo2OTY5OTg2OCIsInZpc2l0b3JfaWQiOiI2ODA2NDMyODE1NDY1OTk0MzQ0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac40f147278c819c4f683165e9679b71539cee9a9759af99729f3b9970592aff2f
hovercard-subject-tagpull_request:931883161
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/92591/commits
twitter:imagehttps://opengraph.githubassets.com/11f5bd097410037aca705ffdc3529ceb4213ccd374510d4659b5ccbb7ec2dd73/python/cpython/pull/92591
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/11f5bd097410037aca705ffdc3529ceb4213ccd374510d4659b5ccbb7ec2dd73/python/cpython/pull/92591
og:image:altCloses #92592 https://discuss.python.org/t/expand-logging-filter-api-to-allow-returning-a-logrecord
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadriangb
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-cache
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/92591/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F92591%2Fcommits
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%2F92591%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/92591/commits
Reloadhttps://github.com/python/cpython/pull/92591/commits
Reloadhttps://github.com/python/cpython/pull/92591/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/92591/commits
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/92591/commits
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
vsajiphttps://github.com/vsajip
python:mainhttps://github.com/python/cpython/tree/main
adriangb:logging-filtershttps://github.com/adriangb/cpython/tree/logging-filters
Conversationhttps://github.com/python/cpython/pull/92591
Commits18 (18)https://github.com/python/cpython/pull/92591/commits
Checkshttps://github.com/python/cpython/pull/92591/checks
Files changedhttps://github.com/python/cpython/pull/92591/files
gh-92592: Allow logging filters to return a LogRecord. (GH-92591)https://github.com/python/cpython/pull/92591/commits#top
vsajiphttps://github.com/vsajip
python:mainhttps://github.com/python/cpython/tree/main
adriangb:logging-filtershttps://github.com/adriangb/cpython/tree/logging-filters
allow logging filters to return a LogRecordhttps://github.com/python/cpython/pull/92591/commits/3aeeba6ed13eda4b895d8a531cf320768f5dc030
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
3aeeba6https://github.com/python/cpython/pull/92591/commits/3aeeba6ed13eda4b895d8a531cf320768f5dc030
https://github.com/python/cpython/tree/3aeeba6ed13eda4b895d8a531cf320768f5dc030
edit docstringhttps://github.com/python/cpython/pull/92591/commits/1e4d27f779a15a3a48f50c025ae88c6bbbcff94f
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
1e4d27fhttps://github.com/python/cpython/pull/92591/commits/1e4d27f779a15a3a48f50c025ae88c6bbbcff94f
https://github.com/python/cpython/tree/1e4d27f779a15a3a48f50c025ae88c6bbbcff94f
remove unecessary __bool__ implhttps://github.com/python/cpython/pull/92591/commits/b526a35ffe06124bed4f48044e4176506c29bade
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
b526a35https://github.com/python/cpython/pull/92591/commits/b526a35ffe06124bed4f48044e4176506c29bade
https://github.com/python/cpython/tree/b526a35ffe06124bed4f48044e4176506c29bade
edit docshttps://github.com/python/cpython/pull/92591/commits/f1ea183f6f98871687084440ede535a628681be8
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
f1ea183https://github.com/python/cpython/pull/92591/commits/f1ea183f6f98871687084440ede535a628681be8
https://github.com/python/cpython/tree/f1ea183f6f98871687084440ede535a628681be8
Add docs and blurbhttps://github.com/python/cpython/pull/92591/commits/19561d39e8f6b28f17851a33d700887b6a1e35d2
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
19561d3https://github.com/python/cpython/pull/92591/commits/19561d39e8f6b28f17851a33d700887b6a1e35d2
https://github.com/python/cpython/tree/19561d39e8f6b28f17851a33d700887b6a1e35d2
Merge branch 'main' into logging-filtershttps://github.com/python/cpython/pull/92591/commits/14e704d6c5942e080c0942dda62324e1a6324153
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
14e704dhttps://github.com/python/cpython/pull/92591/commits/14e704d6c5942e080c0942dda62324e1a6324153
https://github.com/python/cpython/tree/14e704d6c5942e080c0942dda62324e1a6324153
fix rsthttps://github.com/python/cpython/pull/92591/commits/4d34540e6a6a309929a59aac8d885599b04ca84a
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
4d34540https://github.com/python/cpython/pull/92591/commits/4d34540e6a6a309929a59aac8d885599b04ca84a
https://github.com/python/cpython/tree/4d34540e6a6a309929a59aac8d885599b04ca84a
touch up wordinghttps://github.com/python/cpython/pull/92591/commits/a69e76a474c59adc7c7b0c02d615df762a304fab
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
a69e76ahttps://github.com/python/cpython/pull/92591/commits/a69e76a474c59adc7c7b0c02d615df762a304fab
https://github.com/python/cpython/tree/a69e76a474c59adc7c7b0c02d615df762a304fab
add test for filters on loggershttps://github.com/python/cpython/pull/92591/commits/67453f60c38b433f14c8e06b170b7fdc6b5b905b
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
67453f6https://github.com/python/cpython/pull/92591/commits/67453f60c38b433f14c8e06b170b7fdc6b5b905b
https://github.com/python/cpython/tree/67453f60c38b433f14c8e06b170b7fdc6b5b905b
push straggler changehttps://github.com/python/cpython/pull/92591/commits/b1e10848c981048383fee953efe679fa36035e04
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
b1e1084https://github.com/python/cpython/pull/92591/commits/b1e10848c981048383fee953efe679fa36035e04
https://github.com/python/cpython/tree/b1e10848c981048383fee953efe679fa36035e04
Merge branch 'main' into logging-filtershttps://github.com/python/cpython/pull/92591/commits/f72c5942c51feafdb4d2ba4f4427ea76e4a4dfac
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
f72c594https://github.com/python/cpython/pull/92591/commits/f72c5942c51feafdb4d2ba4f4427ea76e4a4dfac
https://github.com/python/cpython/tree/f72c5942c51feafdb4d2ba4f4427ea76e4a4dfac
pr feedbackhttps://github.com/python/cpython/pull/92591/commits/225329fcb4d192a07490177a078e753e2f32ac14
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
225329fhttps://github.com/python/cpython/pull/92591/commits/225329fcb4d192a07490177a078e753e2f32ac14
https://github.com/python/cpython/tree/225329fcb4d192a07490177a078e753e2f32ac14
Merge branch 'logging-filters' of https://github.com/adriangb/cpython into logging-filtershttps://github.com/python/cpython/pull/92591/commits/735d78ae818b59532761e62cd81be39b52b44c39
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
735d78ahttps://github.com/python/cpython/pull/92591/commits/735d78ae818b59532761e62cd81be39b52b44c39
https://github.com/python/cpython/tree/735d78ae818b59532761e62cd81be39b52b44c39
Merge branch 'main' into logging-filtershttps://github.com/python/cpython/pull/92591/commits/5e54c7736a5f5781611a3afd0d8c55b33edd1ea6
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
5e54c77https://github.com/python/cpython/pull/92591/commits/5e54c7736a5f5781611a3afd0d8c55b33edd1ea6
https://github.com/python/cpython/tree/5e54c7736a5f5781611a3afd0d8c55b33edd1ea6
fix whitespacehttps://github.com/python/cpython/pull/92591/commits/f52e4041e99d3603bdb7e6ff8dffe8b19841fd7e
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
f52e404https://github.com/python/cpython/pull/92591/commits/f52e4041e99d3603bdb7e6ff8dffe8b19841fd7e
https://github.com/python/cpython/tree/f52e4041e99d3603bdb7e6ff8dffe8b19841fd7e
fix docs as per pr feedbackhttps://github.com/python/cpython/pull/92591/commits/46e2f7fbeeae2c124980c58efb453836eaa214d5
https://github.com/adriangb
adriangbhttps://github.com/python/cpython/commits?author=adriangb
46e2f7fhttps://github.com/python/cpython/pull/92591/commits/46e2f7fbeeae2c124980c58efb453836eaa214d5
https://github.com/python/cpython/tree/46e2f7fbeeae2c124980c58efb453836eaa214d5
Update logging-cookbook.rsthttps://github.com/python/cpython/pull/92591/commits/7a0f4708e3a396b35d222314aa83286041cc0972
https://github.com/vsajip
vsajiphttps://github.com/python/cpython/commits?author=vsajip
7a0f470https://github.com/python/cpython/pull/92591/commits/7a0f4708e3a396b35d222314aa83286041cc0972
https://github.com/python/cpython/tree/7a0f4708e3a396b35d222314aa83286041cc0972
Update logging.rsthttps://github.com/python/cpython/pull/92591/commits/643551d9c502c458caf3c99a0fae0cfc79be65cf
https://github.com/vsajip
vsajiphttps://github.com/python/cpython/commits?author=vsajip
643551dhttps://github.com/python/cpython/pull/92591/commits/643551d9c502c458caf3c99a0fae0cfc79be65cf
https://github.com/python/cpython/tree/643551d9c502c458caf3c99a0fae0cfc79be65cf
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.