-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Optimise pathlib.Path.relative_to() #112405
Copy link
Copy link
Closed
Labels
3.13only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement
Description
Activity
Metadata
Metadata
Assignees
Labels
3.13only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement
Feature or enhancement
Proposal:
pathlib.Path.relative_to()can be significantly optimised by making use ofitertools.chainHas this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
pathlib.Path.relative_to#112406