Content-Length: 308421 | pFad | https://github.com/python/cpython/pull/103221

D0 GH-103220: Fix `ntpath.join()` of partial UNC drive with trailing slash by barneygale · Pull Request #103221 · python/cpython · GitHub
Skip to content

GH-103220: Fix ntpath.join() of partial UNC drive with trailing slash#103221

Merged
barneygale merged 1 commit intopython:mainfrom
barneygale:gh-103220-ntpath-join-incomplete-unc-drive
Apr 11, 2023
Merged

GH-103220: Fix ntpath.join() of partial UNC drive with trailing slash#103221
barneygale merged 1 commit intopython:mainfrom
barneygale:gh-103220-ntpath-join-incomplete-unc-drive

Conversation

@barneygale
Copy link
Copy Markdown
Contributor

@barneygale barneygale commented Apr 3, 2023

Before:

>>> ntpath.join('\\\\server\\', 'share')
'\\\\server\\\\share'
>>> ntpath.join('\\\\', 'server')
'\\\\\\server'

After:

>>> ntpath.join('\\\\server\\', 'share')
'\\\\server\\share'
>>> ntpath.join('\\\\', 'server')
'\\\\server'

@barneygale barneygale merged commit b57105a into python:main Apr 11, 2023
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/103221

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy