René's URL Explorer Experiment


Title: GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths by barneygale · Pull Request #113829 · python/cpython · GitHub

Open Graph Title: GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths by barneygale · Pull Request #113829 · python/cpython

X Title: GH-44626, GH-105476: Fix `ntpath.isabs()` handling of part-absolute paths by barneygale · Pull Request #113829 · python/cpython

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

Open Graph Description: On Windows, os.path.isabs() now returns False when given a path that starts with exactly one (back)slash. This is more compatible with other functions in os.path, and with Microsoft's own docum...

X Description: On Windows, os.path.isabs() now returns False when given a path that starts with exactly one (back)slash. This is more compatible with other functions in os.path, and with Microsoft's own d...

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

X: @github

direct link

Domain: github.com

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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:44fc486a-2b7f-7b87-c7e1-b300000f5ce2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9AAE:187C1E:19064AC:2100654:6B02105E
html-safe-noncebe7eaca8ab586798d679609eaf58f4d018a48f47076219d2115ca686d2254c50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUFFOjE4N0MxRToxOTA2NEFDOjIxMDA2NTQ6NkIwMjEwNUUiLCJ2aXNpdG9yX2lkIjoiMzc1ODAxNjUyNTE3MzM5NTU1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac55180f023cada862a722542c02db04fa8e26be7e85a106193ed57e9edd92ac5f
hovercard-subject-tagpull_request:1669653139
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/113829/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b4f8924f977dbcc631bd195fa1f97a754991f9627c795354851053535cf411fa/python/cpython/pull/113829
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b4f8924f977dbcc631bd195fa1f97a754991f9627c795354851053535cf411fa/python/cpython/pull/113829
og:image:altOn Windows, os.path.isabs() now returns False when given a path that starts with exactly one (back)slash. This is more compatible with other functions in os.path, and with Microsoft's own docum...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebarneygale
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/113829#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F113829
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%2Fpull%2F113829
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/113829
Reloadhttps://github.com/python/cpython/pull/113829
Reloadhttps://github.com/python/cpython/pull/113829
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
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-44626-fix-ntpath-isabshttps://github.com/barneygale/cpython/tree/gh-44626-fix-ntpath-isabs
Conversationhttps://github.com/python/cpython/pull/113829
Commits3 (3)https://github.com/python/cpython/pull/113829/commits
Checkshttps://github.com/python/cpython/pull/113829/checks
Files changedhttps://github.com/python/cpython/pull/113829/files
GH-44626, GH-105476: Fix ntpath.isabs() handling of part-absolute pathshttps://github.com/python/cpython/pull/113829#top
barneygalehttps://github.com/barneygale
python:mainhttps://github.com/python/cpython/tree/main
barneygale:gh-44626-fix-ntpath-isabshttps://github.com/barneygale/cpython/tree/gh-44626-fix-ntpath-isabs
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 8, 2024https://github.com/python/cpython/pull/113829#issue-2071257361
Please reload this pagehttps://github.com/python/cpython/pull/113829
Add os.path.isrelative() and improve ntpath.isabs() #44626https://github.com/python/cpython/issues/44626
pathlib.PureWindowsPath.is_absolute() can return False for UNC paths #105476https://github.com/python/cpython/issues/105476
https://cpython-previews--113829.org.readthedocs.build/https://cpython-previews--113829.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/113829
https://github.com/barneygale
https://github.com/jonfoster
pythonGH-44626https://github.com/python/cpython/issues/44626
,https://github.com/python/cpython/pull/113829/commits/2100e3e4d2149f770554a67c13678310bdd8e3b4
pythonGH-105476https://github.com/python/cpython/issues/105476
: Fixhttps://github.com/python/cpython/pull/113829/commits/2100e3e4d2149f770554a67c13678310bdd8e3b4
ntpath.isabs()https://github.com/python/cpython/pull/113829/commits/2100e3e4d2149f770554a67c13678310bdd8e3b4
handling of par…https://github.com/python/cpython/pull/113829/commits/2100e3e4d2149f770554a67c13678310bdd8e3b4
2100e3ehttps://github.com/python/cpython/pull/113829/commits/2100e3e4d2149f770554a67c13678310bdd8e3b4
https://github.com/barneygale
barneygalehttps://github.com/barneygale
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
Jan 8, 2024https://github.com/python/cpython/pull/113829#event-11422758497
https://github.com/barneygale
barneygalehttps://github.com/barneygale
zoobahttps://github.com/zooba
January 8, 2024 21:31https://github.com/python/cpython/pull/113829#event-11422758528
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
Jan 8, 2024https://github.com/python/cpython/pull/113829#event-11422759047
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 8, 2024 https://github.com/python/cpython/pull/113829#ref-issue-1198820774
Add os.path.isrelative() and improve ntpath.isabs() #44626 https://github.com/python/cpython/issues/44626
https://github.com/barneygale
Attempt to fix some test failures.https://github.com/python/cpython/pull/113829/commits/f6f0e35a33fd55b00fbef53ec9dacdb0a1ba818f
f6f0e35https://github.com/python/cpython/pull/113829/commits/f6f0e35a33fd55b00fbef53ec9dacdb0a1ba818f
https://github.com/zooba
zoobahttps://github.com/zooba
Jan 8, 2024 https://github.com/python/cpython/pull/113829#pullrequestreview-1810100786
View reviewed changes https://github.com/python/cpython/pull/113829/files/f6f0e35a33fd55b00fbef53ec9dacdb0a1ba818f
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
Jan 8, 2024https://github.com/python/cpython/pull/113829#event-11423010494
https://github.com/barneygale
Fix tests, attempthttps://github.com/python/cpython/pull/113829/commits/bb7abe5918acc0f34bdae2d2e303c72839059aa0
python#2https://github.com/python/cpython/pull/2
bb7abe5https://github.com/python/cpython/pull/113829/commits/bb7abe5918acc0f34bdae2d2e303c72839059aa0
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 13, 2024https://github.com/python/cpython/pull/113829#issuecomment-1890361583
@zoobahttps://github.com/zooba
Please reload this pagehttps://github.com/python/cpython/pull/113829
https://github.com/barneygale
barneygalehttps://github.com/barneygale
e4ff131https://github.com/python/cpython/commit/e4ff131e01184b68d868cfd241a03f8b7d2e0ff9
Jan 13, 2024https://github.com/python/cpython/pull/113829#event-11477095199
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
Jan 13, 2024https://github.com/python/cpython/pull/113829#event-11477095406
https://github.com/barneygale
barneygalehttps://github.com/barneygale
Jan 13, 2024 https://github.com/python/cpython/pull/113829#ref-issue-1746770738
pathlib.PureWindowsPath.is_absolute() can return False for UNC paths #105476 https://github.com/python/cpython/issues/105476
https://github.com/finnagin
finnaginhttps://github.com/finnagin
Jan 17, 2024 https://github.com/python/cpython/pull/113829#ref-issue-2019568544
Wrong paths from nt._getfinalpathname with DOS device selectors in the CWD #112563 https://github.com/python/cpython/issues/112563
kulikjakhttps://github.com/kulikjak
Jan 22, 2024 https://github.com/python/cpython/pull/113829#ref-commit-7fbe155
https://github.com/barneygale
https://github.com/jonfoster
https://github.com/kulikjak
pythonGH-44626https://github.com/python/cpython/issues/44626
,https://github.com/kulikjak/cpython/commit/7fbe1551ae1acd61e26c115cd32464c7a8ede20d
pythonGH-105476https://github.com/python/cpython/issues/105476
: Fixhttps://github.com/kulikjak/cpython/commit/7fbe1551ae1acd61e26c115cd32464c7a8ede20d
ntpath.isabs()https://github.com/kulikjak/cpython/commit/7fbe1551ae1acd61e26c115cd32464c7a8ede20d
handling of par…https://github.com/kulikjak/cpython/commit/7fbe1551ae1acd61e26c115cd32464c7a8ede20d
7fbe155https://github.com/kulikjak/cpython/commit/7fbe1551ae1acd61e26c115cd32464c7a8ede20d
python#113829https://github.com/python/cpython/pull/113829
aiskhttps://github.com/aisk
Feb 11, 2024 https://github.com/python/cpython/pull/113829#ref-commit-d1160d6
https://github.com/barneygale
https://github.com/jonfoster
https://github.com/aisk
pythonGH-44626https://github.com/python/cpython/issues/44626
,https://github.com/aisk/cpython/commit/d1160d682a902356465875411851821fac7b8628
pythonGH-105476https://github.com/python/cpython/issues/105476
: Fixhttps://github.com/aisk/cpython/commit/d1160d682a902356465875411851821fac7b8628
ntpath.isabs()https://github.com/aisk/cpython/commit/d1160d682a902356465875411851821fac7b8628
handling of par…https://github.com/aisk/cpython/commit/d1160d682a902356465875411851821fac7b8628
d1160d6https://github.com/aisk/cpython/commit/d1160d682a902356465875411851821fac7b8628
python#113829https://github.com/python/cpython/pull/113829
https://github.com/mwichmann
mwichmannhttps://github.com/mwichmann
Mar 22, 2024 https://github.com/python/cpython/pull/113829#ref-issue-2203138139
Python 3.13 alpha breaks explain() SCons/scons#4504 https://github.com/SCons/scons/issues/4504
https://github.com/nineteendo
nineteendohttps://github.com/nineteendo
Mar 30, 2024 https://github.com/python/cpython/pull/113829#ref-issue-2216007010
Fix error message for ntpath.commonpath #117381 https://github.com/python/cpython/issues/117381
https://github.com/richfitz
richfitzhttps://github.com/richfitz
Apr 24, 2024 https://github.com/python/cpython/pull/113829#ref-pullrequest-2235993229
Add support for shared resources. mrc-ide/pyorderly#43 https://github.com/mrc-ide/pyorderly/pull/43
Glyphackhttps://github.com/Glyphack
Sep 2, 2024 https://github.com/python/cpython/pull/113829#ref-commit-29f3174
https://github.com/barneygale
https://github.com/jonfoster
https://github.com/Glyphack
pythonGH-44626https://github.com/python/cpython/issues/44626
,https://github.com/Glyphack/cpython/commit/29f31745b8f173f18a32c7bbf2f6ad71ead44e54
pythonGH-105476https://github.com/python/cpython/issues/105476
: Fixhttps://github.com/Glyphack/cpython/commit/29f31745b8f173f18a32c7bbf2f6ad71ead44e54
ntpath.isabs()https://github.com/Glyphack/cpython/commit/29f31745b8f173f18a32c7bbf2f6ad71ead44e54
handling of par…https://github.com/Glyphack/cpython/commit/29f31745b8f173f18a32c7bbf2f6ad71ead44e54
29f3174https://github.com/Glyphack/cpython/commit/29f31745b8f173f18a32c7bbf2f6ad71ead44e54
python#113829https://github.com/python/cpython/pull/113829
https://github.com/nineteendo
nineteendohttps://github.com/nineteendo
Oct 11, 2024 https://github.com/python/cpython/pull/113829#ref-issue-2579900455
os.path.isabs change in behavior in Python 3.13 on MS-Windows #125283 https://github.com/python/cpython/issues/125283
https://github.com/marc-hb
marc-hbhttps://github.com/marc-hb
Oct 11, 2024 https://github.com/python/cpython/pull/113829#ref-pullrequest-2581003872
.github: Update supported python versions zephyrproject-rtos/west#752 https://github.com/zephyrproject-rtos/west/pull/752
https://github.com/shoeffner
shoeffnerhttps://github.com/shoeffner
Oct 23, 2024 https://github.com/python/cpython/pull/113829#ref-issue-2607837189
[bug] src\meson.build:1:0: ERROR: prefix value '/' must be an absolute path conan-io/conan#17204 https://github.com/conan-io/conan/issues/17204
https://github.com/psobolewskiPhD
psobolewskiPhDhttps://github.com/psobolewskiPhD
Jan 1, 2025 https://github.com/python/cpython/pull/113829#ref-pullrequest-2765250492
[py313] Update plugins/test_utils.py to account for Windows py313 os.path.isabs change napari/napari#7482 https://github.com/napari/napari/pull/7482
jnihttps://github.com/jni
Jan 2, 2025 https://github.com/python/cpython/pull/113829#ref-commit-386ebbf
https://github.com/psobolewskiPhD
https://github.com/marketplace/pre-commit-ci
[py313] Update plugins/test_utils.py to account for Windows py313 os.…https://github.com/napari/napari/commit/386ebbf6c3db96eb49b464c36d5bf9afb6d3468b
386ebbfhttps://github.com/napari/napari/commit/386ebbf6c3db96eb49b464c36d5bf9afb6d3468b
#7482https://github.com/napari/napari/pull/7482
#7481https://github.com/napari/napari/pull/7481
python/cpython#113829https://github.com/python/cpython/pull/113829
https://github.com/psobolewskiPhD/napari/actions/runs/12574076907/job/35047736273https://github.com/psobolewskiPhD/napari/actions/runs/12574076907/job/35047736273
skshetryhttps://github.com/skshetry
Jan 10, 2025 https://github.com/python/cpython/pull/113829#ref-commit-7d14acb
https://github.com/skshetry
3.13 support for Windows (https://github.com/treeverse/dvc/commit/7d14acb5a7fc4b6d4378ae83367f26cf07fe4213
#10667https://github.com/treeverse/dvc/pull/10667
)https://github.com/treeverse/dvc/commit/7d14acb5a7fc4b6d4378ae83367f26cf07fe4213
7d14acbhttps://github.com/treeverse/dvc/commit/7d14acb5a7fc4b6d4378ae83367f26cf07fe4213
python/cpython#113829https://github.com/python/cpython/pull/113829
Prefix option does not allow POSIX default values when cross-compiling on Windows with Python 3.13 mesonbuild/meson#14303 https://github.com/mesonbuild/meson/issues/14303
Prefix should follow the path scheme of the host machine mesonbuild/meson#7577 https://github.com/mesonbuild/meson/issues/7577
https://github.com/joukewitteveen
joukewitteveenhttps://github.com/joukewitteveen
Jul 23, 2025 https://github.com/python/cpython/pull/113829#ref-pullrequest-3228942258
Add suffix function to the fs module mesonbuild/meson#14802 https://github.com/mesonbuild/meson/pull/14802
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Aug 8, 2026 https://github.com/python/cpython/pull/113829#ref-issue-1199037845
[ntpath] realpath fails for broken symlinks with rooted target paths #85035 https://github.com/python/cpython/issues/85035
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%2F113829
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/113829/files/f6f0e35a33fd55b00fbef53ec9dacdb0a1ba818f
Please reload this pagehttps://github.com/python/cpython/pull/113829
topic-pathlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-pathlib
type-bug https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug
Please reload this pagehttps://github.com/python/cpython/pull/113829
https://github.com/barneygale
https://github.com/zooba
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.