Skip to content

Conversation

pfmoore
Copy link
Member

@pfmoore pfmoore commented Mar 16, 2019

No description provided.

@pfmoore
Copy link
Member Author

pfmoore commented Apr 19, 2019

@takluyver I believe that's all the review comments addressed. Sorry it took so long. Are there any other issues you think need addressing?

if self.backend_path:
backend_path = os.pathsep.join(self.backend_path)
if sys.version_info[0] == 2:
backend_path = backend_path.encode(sys.getfilesystemencoding())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may fail if a Unix filesystem erroneously reports that it's ASCII and someone tries to use a non-ASCII path. But I don't know what the correct thing to do on Python 2 in that case is (Python 3 has os.fsencode()). So we may as well cross our fingers and hope people use either Python 3 or plain ASCII paths.

@takluyver
Copy link
Member

Thanks, I think it looks good.

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.

2 participants