René's URL Explorer Experiment


Title: gh-99726: Add 'fast' argument to os.[l]stat for faster calculation by zooba · Pull Request #99727 · python/cpython · GitHub

Open Graph Title: gh-99726: Add 'fast' argument to os.[l]stat for faster calculation by zooba · Pull Request #99727 · python/cpython

X Title: gh-99726: Add 'fast' argument to os.[l]stat for faster calculation by zooba · Pull Request #99727 · python/cpython

Description: When passed as True, only st_mode's type bits, st_size and st_mtime[_nsec] are guaranteed to be set. Other fields may also be set for a given Python version on a given platform version, but may cha...

Open Graph Description: When passed as True, only st_mode's type bits, st_size and st_mtime[_nsec] are guaranteed to be set. Other fields may also be set for a given Python version on a given platform version, but may...

X Description: When passed as True, only st_mode's type bits, st_size and st_mtime[_nsec] are guaranteed to be set. Other fields may also be set for a given Python version on a given platform version, but...

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

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:3f154708-3bdb-b592-c396-d968051a58fe
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDEDC:2F843D:5890D1:7B41D2:696A77A7
html-safe-nonce0daaea43ec6f0c6cc13cf85d627e2a281adb9daf3179d3cdba4e89234f3a8900
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERURDOjJGODQzRDo1ODkwRDE6N0I0MUQyOjY5NkE3N0E3IiwidmlzaXRvcl9pZCI6IjQ2MjU4NTQ2OTIxMDM3MTQ3MjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd1d38e9b2c0d32e4823241c7a6d4d234352a4dde5345c9f313eb096d95425362
hovercard-subject-tagpull_request:1133675895
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/99727/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/76acf8f47dc3c01e7f613093da6201f443cae7ac1b7adaa5e890b588fc7730d5/python/cpython/pull/99727
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/76acf8f47dc3c01e7f613093da6201f443cae7ac1b7adaa5e890b588fc7730d5/python/cpython/pull/99727
og:image:altWhen passed as True, only st_mode's type bits, st_size and st_mtime[_nsec] are guaranteed to be set. Other fields may also be set for a given Python version on a given platform version, but may...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezooba
hostnamegithub.com
expected-hostnamegithub.com
None5b774e44f85c14a75886edd04ddda4e5a25ddebbb241bcbb590b08a3048730e8
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
releasecc5f4eee261b3601c1e98e217ceaf28508b9567e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/99727#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F99727
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%2F99727
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/99727
Reloadhttps://github.com/python/cpython/pull/99727
Reloadhttps://github.com/python/cpython/pull/99727
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/99727
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/99727
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/99727#issue-comment-box
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
zooba:faststathttps://github.com/zooba/cpython/tree/faststat
gh-99726: Add 'fast' argument to os.[l]stat for faster calculation https://github.com/python/cpython/pull/99727#top
zoobahttps://github.com/zooba
python:mainhttps://github.com/python/cpython/tree/main
zooba:faststathttps://github.com/zooba/cpython/tree/faststat
Conversation 15 https://github.com/python/cpython/pull/99727
Commits 7 https://github.com/python/cpython/pull/99727/commits
Checks 0 https://github.com/python/cpython/pull/99727/checks
Files changed https://github.com/python/cpython/pull/99727/files
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/zooba
zoobahttps://github.com/zooba
Nov 23, 2022https://github.com/python/cpython/pull/99727#issue-1461947076
Please reload this pagehttps://github.com/python/cpython/pull/99727
Add fast path to os.[l]stat() that returns incomplete information #99726https://github.com/python/cpython/issues/99726
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Nov 23, 2022 https://github.com/python/cpython/pull/99727#ref-issue-1461942094
Add fast path to os.[l]stat() that returns incomplete information #99726 https://github.com/python/cpython/issues/99726
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
Nov 23, 2022https://github.com/python/cpython/pull/99727#event-7878261593
https://github.com/zooba
zoobahttps://github.com/zooba
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Nov 23, 2022https://github.com/python/cpython/pull/99727#event-7878262516
https://github.com/zooba
pythongh-99726https://github.com/python/cpython/issues/99726
: Add 'fast' argument to os.[l]stat for faster calculationhttps://github.com/python/cpython/pull/99727/commits/9871983a6001f45f42e10fdcb180f9238201d812
9871983https://github.com/python/cpython/pull/99727/commits/9871983a6001f45f42e10fdcb180f9238201d812
https://github.com/zooba
zoobahttps://github.com/zooba
force-pushedhttps://github.com/python/cpython/compare/b8a5f7e98fe43bd6692d5f9345f1c09957caa408..9871983a6001f45f42e10fdcb180f9238201d812
b8a5f7ehttps://github.com/python/cpython/commit/b8a5f7e98fe43bd6692d5f9345f1c09957caa408
9871983https://github.com/python/cpython/commit/9871983a6001f45f42e10fdcb180f9238201d812
Compare https://github.com/python/cpython/compare/b8a5f7e98fe43bd6692d5f9345f1c09957caa408..9871983a6001f45f42e10fdcb180f9238201d812
November 23, 2022 15:19https://github.com/python/cpython/pull/99727#event-7878278146
https://github.com/zooba
Add fstat(fast=True) and update uses in stdlibhttps://github.com/python/cpython/pull/99727/commits/14ed8effc8544220e8e54652d5fabb168716d02e
14ed8efhttps://github.com/python/cpython/pull/99727/commits/14ed8effc8544220e8e54652d5fabb168716d02e
https://github.com/zooba
zoobahttps://github.com/zooba
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
gvanrossumhttps://github.com/gvanrossum
tiranhttps://github.com/tiran
vsajiphttps://github.com/vsajip
code ownershttps://github.com/python/cpython/blob/55bad199cf89f5488bcfd50b897d798afd57976e/.github/CODEOWNERS#L11
November 23, 2022 15:45https://github.com/python/cpython/pull/99727#event-7878507749
zoobahttps://github.com/zooba
November 23, 2022 15:46https://github.com/python/cpython/pull/99727#commits-pushed-25b3352
https://github.com/zooba
Update test_inspecthttps://github.com/python/cpython/pull/99727/commits/25b3352e70ddabe476346ce8d45c26b19e255426
25b3352https://github.com/python/cpython/pull/99727/commits/25b3352e70ddabe476346ce8d45c26b19e255426
https://github.com/zooba
Fix NEWS quotinghttps://github.com/python/cpython/pull/99727/commits/b37dca4e002e9aeba527cb2d369b099d37fc1230
b37dca4https://github.com/python/cpython/pull/99727/commits/b37dca4e002e9aeba527cb2d369b099d37fc1230
https://github.com/zooba
zoobahttps://github.com/zooba
November 23, 2022 15:49https://github.com/python/cpython/pull/99727#event-7878541161
zoobahttps://github.com/zooba
November 23, 2022 16:40https://github.com/python/cpython/pull/99727#commits-pushed-e8670e2
https://github.com/zooba
Fix tests. Update samestat docshttps://github.com/python/cpython/pull/99727/commits/e8670e2538aa67c00ee7f2dd12efcb5e4cae52cd
e8670e2https://github.com/python/cpython/pull/99727/commits/e8670e2538aa67c00ee7f2dd12efcb5e4cae52cd
https://github.com/zooba
Update posixpath testshttps://github.com/python/cpython/pull/99727/commits/bb71497f1c1cf56767ab1edb108efc8154b55723
bb71497https://github.com/python/cpython/pull/99727/commits/bb71497f1c1cf56767ab1edb108efc8154b55723
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Nov 23, 2022https://github.com/python/cpython/pull/99727#issuecomment-1325498769
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/lazka
lazkahttps://github.com/lazka
Nov 24, 2022 https://github.com/python/cpython/pull/99727#pullrequestreview-1192570073
View reviewed changes https://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723
Doc/library/os.rsthttps://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e
lazkahttps://github.com/lazka
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031089599
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
zoobahttps://github.com/zooba
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031363972
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
zoobahttps://github.com/zooba
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031365152
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
lazkahttps://github.com/lazka
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031780799
Please reload this pagehttps://github.com/python/cpython/pull/99727
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/lazka
lazkahttps://github.com/lazka
Nov 24, 2022https://github.com/python/cpython/pull/99727#issuecomment-1326003852
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Nov 24, 2022 https://github.com/python/cpython/pull/99727#pullrequestreview-1192607208
View reviewed changes https://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723
Modules/posixmodule.chttps://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791
eryksunhttps://github.com/eryksun
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031115640
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
zoobahttps://github.com/zooba
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031366912
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
eryksunhttps://github.com/eryksun
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031373806
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
zoobahttps://github.com/zooba
Nov 24, 2022https://github.com/python/cpython/pull/99727#discussion_r1031376598
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/eryksun
eryksunhttps://github.com/eryksun
Nov 24, 2022 https://github.com/python/cpython/pull/99727#pullrequestreview-1192668591
View reviewed changes https://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723
Modules/posixmodule.chttps://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/zooba
https://github.com/eryksun
Use correct traversal logic for non-name surrogate reparse pointshttps://github.com/python/cpython/pull/99727/commits/2b1571e0275dabc15feb3092662030ef7d6ae943
2b1571ehttps://github.com/python/cpython/pull/99727/commits/2b1571e0275dabc15feb3092662030ef7d6ae943
https://github.com/zooba
zoobahttps://github.com/zooba
kumaraditya303https://github.com/kumaraditya303
code ownerhttps://github.com/python/cpython/blob/5f4ae86a639fb84260d622e31468da21dc468265/.github/CODEOWNERS#L11
November 24, 2022 10:53https://github.com/python/cpython/pull/99727#event-7884943047
https://github.com/zooba
zoobahttps://github.com/zooba
Nov 24, 2022https://github.com/python/cpython/pull/99727#issuecomment-1326296386
Please reload this pagehttps://github.com/python/cpython/pull/99727
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
Nov 24, 2022https://github.com/python/cpython/pull/99727#issuecomment-1326673845
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/zooba
zoobahttps://github.com/zooba
Nov 24, 2022https://github.com/python/cpython/pull/99727#issuecomment-1326697987
#99726https://github.com/python/cpython/issues/99726
#99755https://github.com/python/cpython/pull/99755
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
November 30, 2022 16:21https://github.com/python/cpython/pull/99727#event-7923709405
https://github.com/zooba
zoobahttps://github.com/zooba
Dec 6, 2022https://github.com/python/cpython/pull/99727#event-7971444277
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%2F99727
https://github.com/eryksun
eryksun https://github.com/eryksun
https://github.com/python/cpython/pull/99727/files/bb71497f1c1cf56767ab1edb108efc8154b55723
https://github.com/vsajip
vsajip https://github.com/vsajip
https://github.com/tiran
tiran https://github.com/tiran
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/lazka
lazka https://github.com/lazka
https://github.com/python/cpython/pull/99727/files/14ed8effc8544220e8e54652d5fabb168716d02e
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Please reload this pagehttps://github.com/python/cpython/pull/99727
https://github.com/zooba
https://github.com/gvanrossum
https://github.com/lazka
https://github.com/eryksun
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.