This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barneygale
Recipients FFY00, barneygale, ethan.furman, jaraco
Date 2022-01-02.00:01:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641081686.2.0.302456565974.issue45649@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2022-01-02 00:01:26barneygalesetrecipients: + barneygale, jaraco, ethan.furman, FFY00
2022-01-02 00:01:26barneygalesetmessageid: <1641081686.2.0.302456565974.issue45649@roundup.psfhosted.org>
2022-01-02 00:01:26barneygalelinkissue45649 messages
2022-01-02 00:01:25barneygalecreate