-
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
With the general move in the stdlib to accept pathlib.Path for all path-related operations, it seems a little odd and dated to have to to send str to the libzim.
I'd like to harmonize with this move so that the Creator and File can take both str and Path and we'd check the type in the python wrapper and converts it to str for the binding.
I shall mention that functions usually returns same type as provided. We only output path for File.filename I think. We would acknowledge that we'd still return str here (otherwise we'd have to store the type info in the wrapper)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request