Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retire os.path in favor of pathlib #2114

Open
Rixxan opened this issue Dec 21, 2023 · 0 comments
Open

Retire os.path in favor of pathlib #2114

Rixxan opened this issue Dec 21, 2023 · 0 comments

Comments

@Rixxan
Copy link
Contributor

Rixxan commented Dec 21, 2023

Pathlib and os.path are largely similar, and we use both fluently throughout EDMC.

Pathlib is a newer library since Python 3.4+ (I think).

Since 3.6, pip 519 allows pathlib Paths to be passed as inputs to the functions to os.path. Why keep two different parallel dependencies around?

@Rixxan Rixxan added this to the 6.0.0 milestone Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
General Code Cleanups
Awaiting triage
Development

No branches or pull requests

1 participant