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 MrQubo
Recipients MrQubo
Date 2021-05-10.05:29:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620624563.22.0.863899405622.issue44095@roundup.psfhosted.org>
In-reply-to
Content
suffix property is present on pathlib.Path (specifically pathlib.PurePath) and it could also be added to zipfile.Path for consistency.

My use case is filtering files by suffix:
    patch_files = list(filter(lambda file: file.suffix == '.patch', files))

Besides suffix also most of the other pathlib.PurePath properties and methods could be added.
History
Date User Action Args
2021-05-10 05:29:23MrQubosetrecipients: + MrQubo
2021-05-10 05:29:23MrQubosetmessageid: <1620624563.22.0.863899405622.issue44095@roundup.psfhosted.org>
2021-05-10 05:29:23MrQubolinkissue44095 messages
2021-05-10 05:29:23MrQubocreate