Skip to content

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Apr 8, 2021

Eryk Sun spotted that the implementation in #18841 shouldn't perform the basename check if we're querying for the current user's home directory via ~user.

https://bugs.python.org/issue39899

@barneygale barneygale changed the title ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory bpo-39899: ntpath.expanduser(): don't check the basename of the directory matches the username if we're requesting the current user's home directory Apr 8, 2021
…s the username if we're requesting the current user's home directory
@barneygale
Copy link
Contributor Author

@zooba flagging for review, if you have a mo? This is a follow-up to #18841 that fixes a mistake. Thank you!

@zooba zooba added the skip news label Apr 9, 2021
@zooba zooba merged commit ba1db57 into python:master Apr 9, 2021
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.

4 participants