Uh oh!
There was an error while loading. Please reload this page.
gh-126782: Support qualified referencing for ntpath.abspath() - #126784
gh-126782: Support qualified referencing for ntpath.abspath()#126784nineteendo wants to merge 19 commits into
ntpath.abspath()#126784Conversation
…2-44-38.gh-issue-119826.Atm9ol.rst
…024-05-31-12-44-38.gh-issue-126782.Atm9ol.rst
nineteendo
commented
Nov 13, 2024
| tester('ntpath.abspath("?")', cwd_dir + "\\?") | ||
| tester('ntpath.abspath("con")', r"\\.\con") | ||
| # bpo-45354: Windows 11 changed MS-DOS device name handling | ||
| if sys.getwindowsversion()[:3] < (10, 0, 22000): |
There was a problem hiding this comment.
Do we test on Windows 10 and 11?
zooba
commented
Dec 2, 2024
How close do we get just by swapping the order of the If we can't do that, I'd prefer to see more of the logic on the Python side of things, and better naming than "explicit" and "curdir". |
You get other problems (and just replacing
It's the same idea, detect whether the path contained
I'm bad at naming things, but we're doing something complicated here. It's just an internal option though.
Edit: Some other options are |
This PR is stale because it has been open for 30 days with no activity. |
ntpath.abspath()#126782