René's URL Explorer Experiment


Title: Speed up `posixpath.realpath()` · Issue #114847 · python/cpython · GitHub

Open Graph Title: Speed up `posixpath.realpath()` · Issue #114847 · python/cpython

X Title: Speed up `posixpath.realpath()` · Issue #114847 · python/cpython

Description: Some optimizations to posixpath.realpath() are possible - see attached PR. Linked PRs gh-114848 gh-117481

Open Graph Description: Some optimizations to posixpath.realpath() are possible - see attached PR. Linked PRs gh-114848 gh-117481

X Description: Some optimizations to posixpath.realpath() are possible - see attached PR. Linked PRs gh-114848 gh-117481

Opengraph URL: https://github.com/python/cpython/issues/114847

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Speed up `posixpath.realpath()`","articleBody":"Some optimizations to `posixpath.realpath()` are possible - see attached PR.\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-114848\n* gh-117481\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/barneygale","@type":"Person","name":"barneygale"},"datePublished":"2024-02-01T08:08:46Z","url":"https://github.com/python/cpython/issues/114847"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b8252d27-5236-1d57-c0ee-b0afc4919c8b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB61E:EA09B:36C272C:48932C1:6B02077D
html-safe-nonce00bfdc8c54050d5e654e2acb111d511fc209d6ad7aba43b267230d9046f0553d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjFFOkVBMDlCOjM2QzI3MkM6NDg5MzJDMTo2QjAyMDc3RCIsInZpc2l0b3JfaWQiOiI2NTUwNzcwNjMwODg1NzcxMTMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacfaf883d180702b3e213983ff9d963bed3d324e2307c70dec52af8b3b28daaca8
hovercard-subject-tagissue:2111809841
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/114847/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8d012dafad5f8b22f4f42d00a7c4695a22893d5ae26ebd58ee8e1880c3655865/python/cpython/issues/114847
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d012dafad5f8b22f4f42d00a7c4695a22893d5ae26ebd58ee8e1880c3655865/python/cpython/issues/114847
og:image:altSome optimizations to posixpath.realpath() are possible - see attached PR. Linked PRs gh-114848 gh-117481
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/114847#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F114847
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F114847
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/114847
Reloadhttps://github.com/python/cpython/issues/114847
Reloadhttps://github.com/python/cpython/issues/114847
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/114847
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/114847
Speed up posixpath.realpath()https://github.com/python/cpython/issues/114847#top
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
https://github.com/barneygale
barneygalehttps://github.com/barneygale
on Feb 1, 2024https://github.com/python/cpython/issues/114847#issue-2111809841
GH-114847: Speed up posixpath.realpath() #114848https://github.com/python/cpython/pull/114848
GH-114847: Raise FileNotFoundError when getcwd() returns '(unreachable)' #117481https://github.com/python/cpython/pull/117481
barneygalehttps://github.com/barneygale
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
on Feb 1, 2024https://github.com/python/cpython/issues/114847#event-11666038859
barneygalehttps://github.com/barneygale
on Feb 1, 2024https://github.com/python/cpython/issues/114847#event-11666050338
pythonGH-114847: Speed up `posixpath.realpath()`https://github.com/barneygale/cpython/commit/dfe032070d223d45b6c4a0157d97c5d8929b6113
pythonGH-114847https://github.com/python/cpython/issues/114847
dfe0320https://github.com/barneygale/cpython/commit/dfe032070d223d45b6c4a0157d97c5d8929b6113
pythonGH-114847: Speed up `posixpath.realpath()`https://github.com/barneygale/cpython/commit/0a4f60a77e85af697d536717454a101cadc870d3
pythonGH-114847https://github.com/python/cpython/issues/114847
0a4f60ahttps://github.com/barneygale/cpython/commit/0a4f60a77e85af697d536717454a101cadc870d3
barneygalehttps://github.com/barneygale
on Mar 31, 2024https://github.com/python/cpython/issues/114847#event-12304514712
Merge branch 'main' into pythongh-114847https://github.com/barneygale/cpython/commit/eb079b4b876df4fb320a5465b28d7c30519cfabe
pythongh-114847https://github.com/python/cpython/issues/114847
eb079b4https://github.com/barneygale/cpython/commit/eb079b4b876df4fb320a5465b28d7c30519cfabe
Merge branch 'main' into pythongh-114847https://github.com/barneygale/cpython/commit/b03e4747de9670c5af0d82e15cbfd882125f91cc
pythongh-114847https://github.com/python/cpython/issues/114847
b03e474https://github.com/barneygale/cpython/commit/b03e4747de9670c5af0d82e15cbfd882125f91cc
pythonGH-114847: Raise FileNotFoundError when getcwd() returns '(unre…https://github.com/barneygale/cpython/commit/394984db9c8727f953b3499e6378d999a9c2dce4
pythonGH-114847https://github.com/python/cpython/issues/114847
394984dhttps://github.com/barneygale/cpython/commit/394984db9c8727f953b3499e6378d999a9c2dce4
Merge branch 'main' into pythongh-114847https://github.com/barneygale/cpython/commit/8b3b8081b51f1f1c5aca9eb8300f87fb7584db5f
pythongh-114847https://github.com/python/cpython/issues/114847
8b3b808https://github.com/barneygale/cpython/commit/8b3b8081b51f1f1c5aca9eb8300f87fb7584db5f
GH-114847: Raise FileNotFoundError when getcwd() returns '(unreachabl…https://github.com/python/cpython/commit/345194de8cb3ceaa40d19353d30ba6e23b6e6edb
GH-114847https://github.com/python/cpython/issues/114847
345194dhttps://github.com/python/cpython/commit/345194de8cb3ceaa40d19353d30ba6e23b6e6edb
Merge branch 'main' into pythongh-114847https://github.com/barneygale/cpython/commit/01127e3255a7e79d8bfa03c727a492e9613545a5
pythongh-114847https://github.com/python/cpython/issues/114847
01127e3https://github.com/barneygale/cpython/commit/01127e3255a7e79d8bfa03c727a492e9613545a5
Merge branch 'main' into pythongh-114847https://github.com/barneygale/cpython/commit/211167eb542607fbd82915b84f748051a6d85813
pythongh-114847https://github.com/python/cpython/issues/114847
211167ehttps://github.com/barneygale/cpython/commit/211167eb542607fbd82915b84f748051a6d85813
https://github.com/encukou
encukouhttps://github.com/encukou
on Apr 4, 2024https://github.com/python/cpython/issues/114847#issuecomment-2036985945
barneygalehttps://github.com/barneygale
on Apr 4, 2024https://github.com/python/cpython/issues/114847#event-12360507972
Merge branch 'main' into pythongh-114847https://github.com/barneygale/cpython/commit/ecbb27ca5ff594a53af5da61498a49abfad1c8fc
pythongh-114847https://github.com/python/cpython/issues/114847
ecbb27chttps://github.com/barneygale/cpython/commit/ecbb27ca5ff594a53af5da61498a49abfad1c8fc
GH-114847: Speed up `posixpath.realpath()` (#114848)https://github.com/python/cpython/commit/abfa16b44bb9426312613893b6e193b02ee0304f
GH-114847https://github.com/python/cpython/issues/114847
#114848https://github.com/python/cpython/pull/114848
abfa16bhttps://github.com/python/cpython/commit/abfa16b44bb9426312613893b6e193b02ee0304f
https://github.com/encukou
encukouhttps://github.com/encukou
on Apr 8, 2024https://github.com/python/cpython/issues/114847#issuecomment-2042703278
encukouhttps://github.com/encukou
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 8, 2024https://github.com/python/cpython/issues/114847#event-12392611507
diegorussohttps://github.com/diegorusso
on Apr 17, 2024https://github.com/python/cpython/issues/114847#event-12505755858
pythonGH-114847: Raise FileNotFoundError when getcwd() returns '(unre…https://github.com/diegorusso/cpython/commit/d294a89cacef36140411a4c39f5e8f960472fec2
pythonGH-114847https://github.com/python/cpython/issues/114847
d294a89https://github.com/diegorusso/cpython/commit/d294a89cacef36140411a4c39f5e8f960472fec2
pythonGH-114847: Speed up `posixpath.realpath()` (python#114848)https://github.com/diegorusso/cpython/commit/c20c138c674ede412c8c571e8e22999fc0306539
pythonGH-114847https://github.com/python/cpython/issues/114847
python#114848https://github.com/python/cpython/pull/114848
c20c138https://github.com/diegorusso/cpython/commit/c20c138c674ede412c8c571e8e22999fc0306539
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/114847
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/114847
performancePerformance or resource usagehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22performance%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
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.