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

Fix UnicodeEncodeError split_leading_dir (Python 2) #2447

Closed
wants to merge 2 commits into from

Conversation

blueyed
Copy link
Contributor

@blueyed blueyed commented Feb 24, 2015

Fixes #1698.

This would need to be squashed if it turns out to be correct.

Also a test for this would be nice!

This appears to not be required (for Python 2.7.9 and 3.4.2 at least),
and fixes pypa#1698.
blueyed referenced this pull request in django/django Feb 24, 2015
In addition to simplifying the code, this reduces the number of writes.
@blueyed blueyed changed the title Remove path = str(path) in split_leading_dir Fix UnicodeEncodeError split_leading_dir (Python 2) Feb 24, 2015
Use `path.encode(sys.getfilesystemencoding())` instead.
@blueyed
Copy link
Contributor Author

blueyed commented Feb 24, 2015

Test failure is unrelated - 500 with bitbucket (https://travis-ci.org/pypa/pip/jobs/51992019).

@blueyed
Copy link
Contributor Author

blueyed commented Mar 14, 2015

I am closing this in favor of #1473.

@blueyed blueyed closed this Mar 14, 2015
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant