This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients Alexey.Borzenkov, hynek, ned.deily, python-dev, ronaldoussoren, samueljohn, schmir, tarek
Date 2013-07-31.07:29:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375255773.04.0.255594783549.issue18071@psf.upfronthosting.co.za>
In-reply-to
Content
Alexey's analysis is correct.  The problem is seen when the Xcode command line tools are not installed.  When building an extension module, Distutils is then unable to find a compiler at the normal path and consults the 'xcrun' utility to find the location of an uninstalled compiler.  The output from the 'xcrun' is mistakenly converted to Unicode and this triggers the odd behavior in customize_compiler.  The fix, applied for release in 2.7.6, is to avoid the Unicode conversion for Python 2.
History
Date User Action Args
2013-07-31 07:29:33ned.deilysetrecipients: + ned.deily, ronaldoussoren, schmir, tarek, samueljohn, python-dev, hynek, Alexey.Borzenkov
2013-07-31 07:29:33ned.deilysetmessageid: <1375255773.04.0.255594783549.issue18071@psf.upfronthosting.co.za>
2013-07-31 07:29:32ned.deilylinkissue18071 messages
2013-07-31 07:29:32ned.deilycreate