Message393352
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. |
|
| Date |
User |
Action |
Args |
| 2021-05-10 05:29:23 | MrQubo | set | recipients:
+ MrQubo |
| 2021-05-10 05:29:23 | MrQubo | set | messageid: <1620624563.22.0.863899405622.issue44095@roundup.psfhosted.org> |
| 2021-05-10 05:29:23 | MrQubo | link | issue44095 messages |
| 2021-05-10 05:29:23 | MrQubo | create | |
|