mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
GH-110109: Move pathlib ABCs to new pathlib._abc
module. (#112881)
Move `_PurePathBase` and `_PathBase` to a new `pathlib._abc` module, and drop the underscores from the class names. Tests are mostly left alone in this commit, but they'll be similarly split in a subsequent commit. The `pathlib._abc` module will be published as an independent PyPI package (similar to how `zipfile._path` is published as `zipp`), to be refined and stabilised prior to its possible addition to the standard library.
This commit is contained in:
parent
c98c40227e
commit
a98e7a8112
3 changed files with 518 additions and 511 deletions
1150
Lib/pathlib/_abc.py
Normal file
1150
Lib/pathlib/_abc.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue