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

Pathlib in IPython/paths.py #13210

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

deep-jkl
Copy link
Contributor

I have removed usage of os.path in IPython/paths.py.

I have updated tests accordingly (primarily to not use os.path).

However, there is a change, former code utilized os.path.realpath, which is not equivalent to pathlib.Path.resolve(). The former converts path to absolute. I have addressed this matter in tests, but I am not sure that it won't affect the library in general.

@deep-jkl deep-jkl changed the title Pathlib in core paths.py Pathlib in IPython/paths.py Oct 23, 2021
@Carreau
Copy link
Member

Carreau commented Nov 7, 2021

Apologies for delay in reviewing, the last few weeks/next few ones have been busy. I'll do my best to review when possible.

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.

None yet

2 participants