pypa/pip — pull request #374 by msabramo (2011-10-26 05:22:42+00:00)
Title: Fix issue 326 unicode decode error

This is a proposed fix for https://github.com/pypa/pip/issues/326

412daad2 - Modify `console_to_str` to handle non-ASCII (UTF-8) input.
b154c827 - Modify `Logger.log` so that it can output UTF-8 encoded messages.

$ hwprefs os_type
Mac OS X 10.6.8 (10K549)

$ python -V
Python 3.1.1

$ pwd
/Users/marc/dev/git-repos/anyserializer/.tox/py31

$ pip install --upgrade PyYAML | egrep -v '^xxx'
...
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
...
build/temp.macosx-10.3-fat-3.1/check_libyaml.c: In function ‘main’:
build/temp.macosx-10.3-fat-3.1/check_libyaml.c:5: error: ‘yaml_parser_t’ undeclared (first use in this function)
build/temp.macosx-10.3-fat-3.1/check_libyaml.c:5: error: (Each undeclared identifier is reported only once
build/temp.macosx-10.3-fat-3.1/check_libyaml.c:5: error: for each function it appears in.)
build/temp.macosx-10.3-fat-3.1/check_libyaml.c:5: error: expected ‘;’ before ‘parser’
...