René's URL Explorer Experiment


Title: gh-84649: Use statx() in TimedRotatingFileHandler if available by serhiy-storchaka · Pull Request #150968 · python/cpython · GitHub

Open Graph Title: gh-84649: Use statx() in TimedRotatingFileHandler if available by serhiy-storchaka · Pull Request #150968 · python/cpython

X Title: gh-84649: Use statx() in TimedRotatingFileHandler if available by serhiy-storchaka · Pull Request #150968 · python/cpython

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

Open Graph Description: This allows to support rotation based on the file birth time on Linux. Issue: TimedRotatingFileHandler rotating on use not time #84649

X Description: This allows to support rotation based on the file birth time on Linux. Issue: TimedRotatingFileHandler rotating on use not time #84649

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

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:b01ee1f2-9c76-04ba-b46c-7feb4da95574
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECC6:F0C06:AC6BFD:EB5C7D:6A520764
html-safe-nonce9d04bf06d530f94d0c1f4a073ba6cf4de6f3b9b6d3f868beadb34f494a738790
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0M2OkYwQzA2OkFDNkJGRDpFQjVDN0Q6NkE1MjA3NjQiLCJ2aXNpdG9yX2lkIjoiMjEwOTQ2MjE3MjYyMzA0NjUwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac50dde1a68f1b92824bc0c36d6ab36a67df03a8a9a142a50b85215e8aa3637077
hovercard-subject-tagpull_request:3810236659
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/150968/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/68d67b11bd5461716cb46c66b159e075a5cad170f661244d5d16a5b29f90ec6c/python/cpython/pull/150968
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/68d67b11bd5461716cb46c66b159e075a5cad170f661244d5d16a5b29f90ec6c/python/cpython/pull/150968
og:image:altThis allows to support rotation based on the file birth time on Linux. Issue: TimedRotatingFileHandler rotating on use not time #84649
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/150968#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F150968
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F150968
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/150968
Reloadhttps://github.com/python/cpython/pull/150968
Reloadhttps://github.com/python/cpython/pull/150968
Please reload this pagehttps://github.com/python/cpython/pull/150968
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/150968
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:TimedRotatingFileHandler-statxhttps://github.com/serhiy-storchaka/cpython/tree/TimedRotatingFileHandler-statx
Conversationhttps://github.com/python/cpython/pull/150968
Commits3 (3)https://github.com/python/cpython/pull/150968/commits
Checkshttps://github.com/python/cpython/pull/150968/checks
Files changedhttps://github.com/python/cpython/pull/150968/files
gh-84649: Use statx() in TimedRotatingFileHandler if availablehttps://github.com/python/cpython/pull/150968#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:TimedRotatingFileHandler-statxhttps://github.com/serhiy-storchaka/cpython/tree/TimedRotatingFileHandler-statx
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 5, 2026https://github.com/python/cpython/pull/150968#issue-4597108244
Please reload this pagehttps://github.com/python/cpython/pull/150968
TimedRotatingFileHandler rotating on use not time #84649https://github.com/python/cpython/issues/84649
Please reload this pagehttps://github.com/python/cpython/pull/150968
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
vstinnerhttps://github.com/vstinner
June 5, 2026 13:02https://github.com/python/cpython/pull/150968#event-26385645263
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
vsajiphttps://github.com/vsajip
code ownerhttps://github.com/python/cpython/blob/c195a046f81d986dce22743d85e2500fe282e8a9/.github/CODEOWNERS#L526
June 5, 2026 13:02https://github.com/python/cpython/pull/150968#event-26385645605
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jun 5, 2026https://github.com/python/cpython/pull/150968#event-26385645869
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
Jun 5, 2026https://github.com/python/cpython/pull/150968#event-26385647658
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 5, 2026 https://github.com/python/cpython/pull/150968#ref-issue-1199035468
TimedRotatingFileHandler rotating on use not time #84649 https://github.com/python/cpython/issues/84649
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 5, 2026 https://github.com/python/cpython/pull/150968#pullrequestreview-4436465768
View reviewed changes https://github.com/python/cpython/pull/150968/files
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/150968#pullrequestreview-4436465768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/150968
Lib/test/test_logging.pyhttps://github.com/python/cpython/pull/150968/files#diff-bc15bb717afb8343ceee4cd4219559dc397092dcde20271f6e8708c2b132976f
serhiy-storchakahttps://github.com/serhiy-storchaka
Jun 5, 2026https://github.com/python/cpython/pull/150968#discussion_r3362811515
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/150968
https://github.com/serhiy-storchaka
pythongh-84649https://github.com/python/cpython/issues/84649
: Use statx() in TimedRotatingFileHandler if availablehttps://github.com/python/cpython/pull/150968/commits/e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
e1c910ehttps://github.com/python/cpython/pull/150968/commits/e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
force-pushedhttps://github.com/python/cpython/compare/e584956c4c680017205229787823b12a848d0ba5..e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
e584956https://github.com/python/cpython/commit/e584956c4c680017205229787823b12a848d0ba5
e1c910ehttps://github.com/python/cpython/commit/e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
Compare https://github.com/python/cpython/compare/e584956c4c680017205229787823b12a848d0ba5..e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
June 5, 2026 13:11https://github.com/python/cpython/pull/150968#event-26385977185
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jun 5, 2026 https://github.com/python/cpython/pull/150968#pullrequestreview-4436747009
View reviewed changes https://github.com/python/cpython/pull/150968/files/e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/150968#pullrequestreview-4436747009
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/150968
Lib/logging/handlers.pyhttps://github.com/python/cpython/pull/150968/files/e1c910e16c36f2a8ae9318e5c62f4d010c0d5716#diff-0798fd5bd555ae6d7713d10e5266a8bcd7a9800f1fd38d74f09e7bda68a79ebe
vstinnerhttps://github.com/vstinner
Jun 5, 2026https://github.com/python/cpython/pull/150968#discussion_r3363041530
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#83714 (comment)https://github.com/python/cpython/issues/83714#issuecomment-3425706614
Please reload this pagehttps://github.com/python/cpython/pull/150968
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 5, 2026https://github.com/python/cpython/pull/150968#event-26387589802
https://github.com/serhiy-storchaka
Document this as a new feature.https://github.com/python/cpython/pull/150968/commits/55adeb7d06c38a2381bcd67ea0e8b78bd4d01f13
55adeb7https://github.com/python/cpython/pull/150968/commits/55adeb7d06c38a2381bcd67ea0e8b78bd4d01f13
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/9f225e2c3448e8536e8e3f0d80dca45415f04ef0/.github/CODEOWNERS#L116
June 5, 2026 15:56https://github.com/python/cpython/pull/150968#event-26392697056
https://github.com/serhiy-storchaka
Uncomment @support.requires_resource('walltime')https://github.com/python/cpython/pull/150968/commits/643c819da255040934583bcabb4a9c923aadf407
643c819https://github.com/python/cpython/pull/150968/commits/643c819da255040934583bcabb4a9c923aadf407
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jun 5, 2026https://github.com/python/cpython/pull/150968#issuecomment-4633382847
Please reload this pagehttps://github.com/python/cpython/pull/150968
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33010529https://app.readthedocs.org/projects/cpython-previews/builds/33010529/
643c819https://github.com/python/cpython/commit/643c819da255040934583bcabb4a9c923aadf407
mainhttps://cpython-previews.readthedocs.io/en/main/
9f225e2https://github.com/python/cpython/commit/9f225e2c3448e8536e8e3f0d80dca45415f04ef0
  🔍 Preview build   https://cpython-previews--150968.org.readthedocs.build/en/150968/
library/logging.handlers.htmlhttps://cpython-previews--150968.org.readthedocs.build/en/150968/library/logging.handlers.html
whatsnew/3.16.htmlhttps://cpython-previews--150968.org.readthedocs.build/en/150968/whatsnew/3.16.html
whatsnew/changelog.htmlhttps://cpython-previews--150968.org.readthedocs.build/en/150968/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/150968
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
b18b6a4https://github.com/python/cpython/commit/b18b6a49c6f8c2172cf2bed366302064db1298b1
Jun 6, 2026https://github.com/python/cpython/pull/150968#event-26416972757
Please reload this pagehttps://github.com/python/cpython/pull/150968
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jun 6, 2026https://github.com/python/cpython/pull/150968#event-26416973611
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
July 1, 2026 16:47https://github.com/python/cpython/pull/150968#event-27440212711
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F150968
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/150968/files/e1c910e16c36f2a8ae9318e5c62f4d010c0d5716
https://github.com/vsajip
vsajip https://github.com/vsajip
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/150968
https://github.com/serhiy-storchaka
https://github.com/vstinner
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.