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
Update Misc/NEWS.d/next/Library/2023-02-07-22-20-32.gh-issue-101362.J…
…lk6mt.rst

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
barneygale and AlexWaygood authored Mar 5, 2023
commit 782a940925736850dd2704480c49f062eb145d2e
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Speed up :class:`pathlib.PurePath` construction by handling arguments more
uniformly. When a :class:`pathlib.Path argument is supplied,
uniformly. When a :class:`pathlib.Path` argument is supplied,
we use its string representation rather than joining its parts
with :func:`os.path.join`.
0