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 attempt for unicode bug #1137 **PYTHON 2 ONLY** #1179

Closed
wants to merge 263 commits into from

Conversation

remram44
Copy link
Contributor

This should probably be made to work on Python 3 first... I see nothing in six.py to help, though.

msabramo and others added 30 commits December 5, 2013 22:52
Added a virtualenv-specific configuration file
Find the virtual environments created by Python3.3
In Python 2, the exec statement handles encoding for us, but in
Python 3 the encoding must be specified when opening the file
(if it's not specified it uses the system locale encoding, so
previously this would work only if your locale environment variables
specified the same encoding as the setup.py file).

On Python 3.2+ the tokenize.open function is available to interpret
the encoding declaration; fixing this for python 3.0 and 3.1 is more
difficult.
Respect explicit encoding declarations in setup.py files.
…_info-files to avoid UnicodeDecodeErrors at the installation of a package.
…-develop

Refactor virtual env requirement to use the pip.locations func
Conflicts:
	pip/__init__.py
	pip/_vendor/distlib/__init__.py
	pip/_vendor/distlib/t32.exe
	pip/_vendor/distlib/t64.exe
	pip/_vendor/distlib/w32.exe
	pip/_vendor/distlib/w64.exe
	pip/_vendor/vendor.txt
	tox.ini
The PyPy shipped with travis is now the newest version
dstufft and others added 25 commits April 24, 2014 12:27
Upgrade bundled pkg_resources and _markerlib to 3.4.4
Use a smaller repository in the tests for speed.
don't install empty dirs during wheel installs
And some tools don't follow redirects by default.
Use the real URL, raw.github is just a redirect these days
We've had a number of problems with pytest-xdist, primarily on
Python 3.x where we had intermittent failure. However we're also
getting intermittent failures on Travis due to how long the tests
actually take to run. Given two different intermittent failures
it seems that the one that runs faster should be preferred.
Parallelize running tests with pytest-xdist
Refactor travis install logic to move it into a shell script
delete read-only file in Windows
Make 'completion' help output consistent with other commands
This won't work on Python 3, and is probably not required there at all.

It makes sure that all entries from complete_log are bytestrings when
join()ing, before writing to the file.

The issue (github pypa#1137) was that a single unicode object on the list
would cause all the bytestrings to be converted to unicode, probably
through the 'ascii' encoder (which would then fail on 8-bit characters).
@remram44 remram44 closed this Apr 28, 2014
@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.