8000 GH-101362: Optimise PurePath(PurePath(...)) by barneygale · Pull Request #101667 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

GH-101362: Optimise PurePath(PurePath(...)) #101667

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

Merged
Prev Previous commit
Next Next commit
Merge branch 'main' into gh-101362-use-native-pathlib-joining
  • Loading branch information
barneygale authored Mar 5, 2023
commit bee1ab57715342055af4215135fd4974d451a88c
1 change: 0 additions & 1 deletion Lib/pathlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ def _parse_parts(cls, parts):
path = cls._flavour.join(*parts)
sep = cls._flavour.sep
altsep = cls._flavour.altsep
path = cls._flavour.join(*parts)
if isinstance(path, str):
# Force-cast str subclasses to str (issue #21127)
path = str(path)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0