Proposal
Add a PathBase class that can be subclassed by users to implement "virtual paths", e.g. paths within .zip files or on FTP servers, and publish it as an external PyPI package.
Phase 1: Private support in pathlib
- Add private _PathBase class
- Merge WalkTests into DummyPathTest
- Sort out __hash__(), __eq__, etc - we shouldn't inherit the PurePath implementation
- Simplify/speed up path walking and globbing
- Add from_uri() classmethod
Phase 2: Experimental support in PyPI package
- Move ABCs into pathlib._abc
- Figure out the default value for pathmod, if any
- Publish PyPI package
Previous Discussion
https://discuss.python.org/t/make-pathlib-extensible/3428
Linked PRs
Reactions are currently unavailable
Proposal
Add a PathBase class that can be subclassed by users to implement "virtual paths", e.g. paths within .zip files or on FTP servers, and publish it as an external PyPI package.
Phase 1: Private support in pathlib
Phase 2: Experimental support in PyPI package
Previous Discussion
https://discuss.python.org/t/make-pathlib-extensible/3428
Linked PRs