Repository navigation
pathlib ABCs: prune PathBase interface #127381
Copy link
Copy link
Closed
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-pathlib
Description
Activity
- addedtype-featureA feature request or enhancementA feature request or enhancementstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directoryand removedtype-featureA feature request or enhancementA feature request or enhancement
on Nov 29, 2024 - added 5 commits that reference this issue
on Nov 29, 2024 - added 4 commits that reference this issue
on Dec 5, 2024 39 remaining items
- added a commit that references this issue
on Feb 16, 2025 Once more with feeling...
- added 6 commits that reference this issue
on Feb 24, 2025
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-pathlib
It's time to make some difficult decisions about which methods deserve to stay in the
pathlib._abc.PathBaseinterface, and which ought to be madepathlib.Path-only. Guidelines:zipfile.Pathandos.DirEntry; don't evict shared methods.Linked PRs
PathBase.lstat()#127382PathBase.cwd()andhome()#127427PathBase.rename()andreplace()#127658PathBase.resolve()andabsolute()#127707PathBase.unlink()andrmdir()#127736PathBase.samefile()and rareris_*()#127709PathBasemethods #127714PurePathBasemethods #127853PathBase.stat()#128334PathBase.move()andmove_into()#128337JoinablePath.match()#129147ReadablePath.rglob()#130207ReadablePath.exists()andis_*()#130520WritablePath.mkdir()arguments #130611case_sensitiveargument #131024