René's URL Explorer Experiment


Title: gh-108765: Move stat() fiddling from pyport.h to fileutils.h by vstinner · Pull Request #108854 · python/cpython · GitHub

Open Graph Title: gh-108765: Move stat() fiddling from pyport.h to fileutils.h by vstinner · Pull Request #108854 · python/cpython

X Title: gh-108765: Move stat() fiddling from pyport.h to fileutils.h by vstinner · Pull Request #108854 · python/cpython

Description: Issue: C API: Cleanup header files #108765

Open Graph Description: Issue: C API: Cleanup header files #108765

X Description: Issue: C API: Cleanup header files #108765

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

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:fb90c6a3-c512-f679-23c3-e8674f094990
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD9C:2AEA36:10D8AF3:1691D32:696AD0A5
html-safe-nonce95994579e7703ae58c6b6774aa75f3b78fc0615c208e0a6e46df20581184fc6a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlDOjJBRUEzNjoxMEQ4QUYzOjE2OTFEMzI6Njk2QUQwQTUiLCJ2aXNpdG9yX2lkIjoiOTk4NzA0MjA3MzI3MDU2MDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc55347b08092f315001cf73f1979303fe278ad1d48ea3c7ff0234d74e16b2140
hovercard-subject-tagpull_request:1500377500
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/108854/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/480f920c5bbccbe84f318afda03887ec0a4ba7debdc863d342bc8850471b8496/python/cpython/pull/108854
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/480f920c5bbccbe84f318afda03887ec0a4ba7debdc863d342bc8850471b8496/python/cpython/pull/108854
og:image:altIssue: C API: Cleanup header files #108765
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
Nonec785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d
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
releasec718a376fcf780eb22089171adb84a543f660bf7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/108854#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F108854
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%2F108854
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/108854
Reloadhttps://github.com/python/cpython/pull/108854
Reloadhttps://github.com/python/cpython/pull/108854
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/108854
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/108854
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/108854#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:stat_fiddlinghttps://github.com/vstinner/cpython/tree/stat_fiddling
gh-108765: Move stat() fiddling from pyport.h to fileutils.h https://github.com/python/cpython/pull/108854#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:stat_fiddlinghttps://github.com/vstinner/cpython/tree/stat_fiddling
Conversation 1 https://github.com/python/cpython/pull/108854
Commits 1 https://github.com/python/cpython/pull/108854/commits
Checks 0 https://github.com/python/cpython/pull/108854/checks
Files changed https://github.com/python/cpython/pull/108854/files
Please reload this pagehttps://github.com/python/cpython/pull/108854
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 3, 2023https://github.com/python/cpython/pull/108854#issue-1879230616
Please reload this pagehttps://github.com/python/cpython/pull/108854
C API: Cleanup header files #108765https://github.com/python/cpython/issues/108765
Please reload this pagehttps://github.com/python/cpython/pull/108854
https://github.com/vstinner
pythongh-108765https://github.com/python/cpython/issues/108765
: Move stat() fiddling from pyport.h to fileutils.hhttps://github.com/python/cpython/pull/108854/commits/9f4de1cd8ad43c0a4afa0a255db97b15ddc09b4e
9f4de1chttps://github.com/python/cpython/pull/108854/commits/9f4de1cd8ad43c0a4afa0a255db97b15ddc09b4e
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Sep 3, 2023https://github.com/python/cpython/pull/108854#event-10267331303
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 3, 2023https://github.com/python/cpython/pull/108854#event-10267331397
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 3, 2023 https://github.com/python/cpython/pull/108854#ref-issue-1877467098
C API: Cleanup header files #108765 https://github.com/python/cpython/issues/108765
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 3, 2023https://github.com/python/cpython/pull/108854#issuecomment-1704399228
Please reload this pagehttps://github.com/python/cpython/pull/108854
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 3, 2023 21:14https://github.com/python/cpython/pull/108854#event-10267381622
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
topic-C-API https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API
Sep 3, 2023https://github.com/python/cpython/pull/108854#event-10267381961
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
c2ec174https://github.com/python/cpython/commit/c2ec174d243da5d2607dbf06c4451d0093ac40ba
Sep 3, 2023https://github.com/python/cpython/pull/108854#event-10267424496
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 3, 2023 21:32https://github.com/python/cpython/pull/108854#event-10267424528
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 3, 2023https://github.com/python/cpython/pull/108854#event-10267424606
https://github.com/moreal
morealhttps://github.com/moreal
Jun 27, 2025 https://github.com/python/cpython/pull/108854#ref-pullrequest-3182286120
gh-108765: fix comment about macro definitions in _stat.c post GH-108854 #136027 https://github.com/python/cpython/pull/136027
picnixzhttps://github.com/picnixz
Jun 27, 2025 https://github.com/python/cpython/pull/108854#ref-commit-0141e7f
https://github.com/moreal
gh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/python/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
_stat.chttps://github.com/python/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
posthttps://github.com/python/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
GH-1…https://github.com/python/cpython/pull/108854
0141e7fhttps://github.com/python/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
…08854https://github.com/python/cpython/pull/108854
#136027https://github.com/python/cpython/pull/136027
miss-islingtonhttps://github.com/miss-islington
Jun 27, 2025 https://github.com/python/cpython/pull/108854#ref-commit-94ead81
https://github.com/moreal
https://github.com/miss-islington
pythongh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/miss-islington/cpython/commit/94ead812b14cbf70277da43cd930de187464edb5
_stat.chttps://github.com/miss-islington/cpython/commit/94ead812b14cbf70277da43cd930de187464edb5
posthttps://github.com/miss-islington/cpython/commit/94ead812b14cbf70277da43cd930de187464edb5
https://github.com/python/cpython/pull/108854
94ead81https://github.com/miss-islington/cpython/commit/94ead812b14cbf70277da43cd930de187464edb5
…pythonGH-108854https://github.com/python/cpython/pull/108854
pythonGH-136027https://github.com/python/cpython/pull/136027
0141e7fhttps://github.com/miss-islington/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
miss-islingtonhttps://github.com/miss-islington
Jun 27, 2025 https://github.com/python/cpython/pull/108854#ref-commit-73da079
https://github.com/moreal
https://github.com/miss-islington
pythongh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/miss-islington/cpython/commit/73da079f92633c56b094e66a72844e037b4658e0
_stat.chttps://github.com/miss-islington/cpython/commit/73da079f92633c56b094e66a72844e037b4658e0
posthttps://github.com/miss-islington/cpython/commit/73da079f92633c56b094e66a72844e037b4658e0
https://github.com/python/cpython/pull/108854
73da079https://github.com/miss-islington/cpython/commit/73da079f92633c56b094e66a72844e037b4658e0
…pythonGH-108854https://github.com/python/cpython/pull/108854
pythonGH-136027https://github.com/python/cpython/pull/136027
0141e7fhttps://github.com/miss-islington/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
picnixzhttps://github.com/picnixz
Jun 27, 2025 https://github.com/python/cpython/pull/108854#ref-commit-ad1b0c9
https://github.com/miss-islington
https://github.com/moreal
[3.13]https://github.com/python/cpython/commit/ad1b0c942d910aaa65952caabbab759b783183f6
gh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/python/cpython/commit/ad1b0c942d910aaa65952caabbab759b783183f6
_stat.chttps://github.com/python/cpython/commit/ad1b0c942d910aaa65952caabbab759b783183f6
posthttps://github.com/python/cpython/commit/ad1b0c942d910aaa65952caabbab759b783183f6
ad1b0c9https://github.com/python/cpython/commit/ad1b0c942d910aaa65952caabbab759b783183f6
GH-108854https://github.com/python/cpython/pull/108854
GH-136027https://github.com/python/cpython/pull/136027
#136044https://github.com/python/cpython/pull/136044
gh-108765https://github.com/python/cpython/issues/108765
GH-108854https://github.com/python/cpython/pull/108854
GH-136027https://github.com/python/cpython/pull/136027
0141e7fhttps://github.com/python/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
picnixzhttps://github.com/picnixz
Jun 27, 2025 https://github.com/python/cpython/pull/108854#ref-commit-eff347c
https://github.com/miss-islington
https://github.com/moreal
[3.14]https://github.com/python/cpython/commit/eff347ccc36bf2bc4e52e7d78d3d8d71abccba62
gh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/python/cpython/commit/eff347ccc36bf2bc4e52e7d78d3d8d71abccba62
_stat.chttps://github.com/python/cpython/commit/eff347ccc36bf2bc4e52e7d78d3d8d71abccba62
posthttps://github.com/python/cpython/commit/eff347ccc36bf2bc4e52e7d78d3d8d71abccba62
eff347chttps://github.com/python/cpython/commit/eff347ccc36bf2bc4e52e7d78d3d8d71abccba62
GH-108854https://github.com/python/cpython/pull/108854
GH-136027https://github.com/python/cpython/pull/136027
#136043https://github.com/python/cpython/pull/136043
gh-108765https://github.com/python/cpython/issues/108765
GH-108854https://github.com/python/cpython/pull/108854
GH-136027https://github.com/python/cpython/pull/136027
0141e7fhttps://github.com/python/cpython/commit/0141e7f9e66e5e5ac3949fb018dd6811cd630dca
AndPuQinghttps://github.com/AndPuQing
Jul 11, 2025 https://github.com/python/cpython/pull/108854#ref-commit-dd67d75
https://github.com/moreal
https://github.com/AndPuQing
pythongh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/AndPuQing/cpython/commit/dd67d75367aa413cead18a9a69cbd4b1c9ba16f4
_stat.chttps://github.com/AndPuQing/cpython/commit/dd67d75367aa413cead18a9a69cbd4b1c9ba16f4
posthttps://github.com/AndPuQing/cpython/commit/dd67d75367aa413cead18a9a69cbd4b1c9ba16f4
https://github.com/python/cpython/pull/108854
dd67d75https://github.com/AndPuQing/cpython/commit/dd67d75367aa413cead18a9a69cbd4b1c9ba16f4
…pythonGH-108854https://github.com/python/cpython/pull/108854
python#136027https://github.com/python/cpython/pull/136027
Pranjal095https://github.com/Pranjal095
Jul 12, 2025 https://github.com/python/cpython/pull/108854#ref-commit-afc689a
https://github.com/moreal
https://github.com/Pranjal095
pythongh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/Pranjal095/cpython/commit/afc689a165db4f2b2ecd60f1b8c7f5600211115c
_stat.chttps://github.com/Pranjal095/cpython/commit/afc689a165db4f2b2ecd60f1b8c7f5600211115c
posthttps://github.com/Pranjal095/cpython/commit/afc689a165db4f2b2ecd60f1b8c7f5600211115c
https://github.com/python/cpython/pull/108854
afc689ahttps://github.com/Pranjal095/cpython/commit/afc689a165db4f2b2ecd60f1b8c7f5600211115c
…pythonGH-108854https://github.com/python/cpython/pull/108854
python#136027https://github.com/python/cpython/pull/136027
taegyunkimhttps://github.com/taegyunkim
Aug 4, 2025 https://github.com/python/cpython/pull/108854#ref-commit-9ff805e
https://github.com/moreal
https://github.com/taegyunkim
pythongh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/taegyunkim/cpython/commit/9ff805e5ff9078ac52504e9da16b383a5887e9a2
_stat.chttps://github.com/taegyunkim/cpython/commit/9ff805e5ff9078ac52504e9da16b383a5887e9a2
posthttps://github.com/taegyunkim/cpython/commit/9ff805e5ff9078ac52504e9da16b383a5887e9a2
https://github.com/python/cpython/pull/108854
9ff805ehttps://github.com/taegyunkim/cpython/commit/9ff805e5ff9078ac52504e9da16b383a5887e9a2
…pythonGH-108854https://github.com/python/cpython/pull/108854
python#136027https://github.com/python/cpython/pull/136027
Agent-Hellboyhttps://github.com/Agent-Hellboy
Aug 19, 2025 https://github.com/python/cpython/pull/108854#ref-commit-7243f39
https://github.com/moreal
https://github.com/Agent-Hellboy
pythongh-108765https://github.com/python/cpython/issues/108765
: fix comment about macro definitions inhttps://github.com/Agent-Hellboy/cpython/commit/7243f396c5020d7d0510f815016c32485c3355c8
_stat.chttps://github.com/Agent-Hellboy/cpython/commit/7243f396c5020d7d0510f815016c32485c3355c8
posthttps://github.com/Agent-Hellboy/cpython/commit/7243f396c5020d7d0510f815016c32485c3355c8
https://github.com/python/cpython/pull/108854
7243f39https://github.com/Agent-Hellboy/cpython/commit/7243f396c5020d7d0510f815016c32485c3355c8
…pythonGH-108854https://github.com/python/cpython/pull/108854
python#136027https://github.com/python/cpython/pull/136027
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%2F108854
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-C-API https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API
Please reload this pagehttps://github.com/python/cpython/pull/108854
https://github.com/vstinner
https://github.com/bedevere-bot
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.