Skip to content

REF: Adopt pathlib for path manipulation - #149

Open
jhlegarreta wants to merge 1 commit into
tee-ar-ex:mainfrom
jhlegarreta:ref/prefer-using-pathlib
Open

jhlegarreta wants to merge 1 commit into
tee-ar-ex:mainfrom
jhlegarreta:ref/prefer-using-pathlib

Conversation

@jhlegarreta

Copy link
Copy Markdown
Contributor

Adopt pathlib for path manipulation:

  • Use pathlib for path manipulation in all internal operations.
  • Simplifies the code and eases the manipulation of paths.

pathlib documentation:
https://docs.python.org/3/library/pathlib.html

@jhlegarreta
jhlegarreta force-pushed the ref/prefer-using-pathlib branch 26 times, most recently from 2c2bf16 to a6426ce Compare September 23, 2026 22:27
Adopt `pathlib` for path manipulation:
- Use `pathlib` for path manipulation in all internal operations,
  including using `PurePosixPath` instance for ZIP member names, as they
  have POSIX-style path semantics.
- Simplifies the code and eases the manipulation of paths.

`pathlib` documentation:
https://docs.python.org/3/library/pathlib.html
@jhlegarreta
jhlegarreta force-pushed the ref/prefer-using-pathlib branch from a6426ce to e511ab3 Compare September 23, 2026 22:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant