Message409482
If you're only aiming for Traversable compatibility, sure.
The original bug description asks for something that's pathlib-compatible and similar to zipfile.Path, which goes beyond the Traversable interface in attempting to emulate pathlib.Path.
The pathlib.Path interface is a good one - I see no reason it can't apply to zip and tar archives in full. Methods of Path objects already raise NotImplementedError if operations aren't supported (e.g. creating symlinks)
Some prototyping from a couple years back, including a tar path implementation: https://github.com/barneygale/pathlab/tree/master/pathlab |
|
Date |
User |
Action |
Args |
2022-01-02 00:01:26 | barneygale | set | recipients:
+ barneygale, jaraco, ethan.furman, FFY00 |
2022-01-02 00:01:26 | barneygale | set | messageid: <1641081686.2.0.302456565974.issue45649@roundup.psfhosted.org> |
2022-01-02 00:01:26 | barneygale | link | issue45649 messages |
2022-01-02 00:01:25 | barneygale | create | |
|