GH-110109: Move pathlib ABCs to new pathlib._abc module.#112881
GH-110109: Move pathlib ABCs to new pathlib._abc module.#112881ambv merged 1 commit intopython:mainfrom
pathlib._abc module.#112881Conversation
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.
|
|
|
|
I created #112901 to fix the failures on the installed buildbots |
|
…hon#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.
…hon#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.
Move
_PurePathBaseand_PathBaseto a newpathlib._abcmodule, and drop the underscores from the class names.Tests are mostly left alone in this PR, but they'll be similarly split in a subsequent PR.
The
pathlib._abcmodule will be published as a PyPI package (similar to howzipfile._pathis published aszipp), where the ABCs can be refined and stabilised prior to their possible addition to the standard library.