↻

bpo-40358: add strict parameter to pathlib.PurePath.relative_to by domragusa · Pull Request #19807 · python/cpython · GitHub

github.com

Tin mới

domragusa:relative_to_not_strict

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

add tests for pathlib.PurePath.relative_to(strict=False)

add strict option for pathlib.PurePath.relative_to

documentation for PurePath.relative_to strict parameter

add missing news entry

pathlib's relative_to should behave like os.path.relpath #84538

⌂git
1/1