-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-117636: Remove redundant type check in os.path.join()
#117638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@serhiy-storchaka, you're the one who added this check, so you can probably best evaluate if it's still needed. |
The first check was for cases like It seems that after adding |
Apparently this unnecessary concatenation has been here since the first iteration of Lines 11 to 14 in c636014
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@serhiy-storchaka, can this be merged? |
Benchmark:
ntpath.py
script
posixpath.py
script
os.path.join()
#117636