diff options
author | Ned Deily <nad@acm.org> | 2012-02-10 12:01:08 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2012-02-10 12:01:08 (GMT) |
commit | 9937748f0c5590f8d14a68b7aab5eac26e974be8 (patch) | |
tree | d4a59be523d6ca829ce1180f69e6defd43801627 /Misc | |
parent | fa3702dc28fa8aef291785c560832c9af60305a8 (diff) | |
download | cpython-9937748f0c5590f8d14a68b7aab5eac26e974be8.zip cpython-9937748f0c5590f8d14a68b7aab5eac26e974be8.tar.gz cpython-9937748f0c5590f8d14a68b7aab5eac26e974be8.tar.bz2 |
Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building
Distutils-based packages with C extension modules may fail because
Apple has removed gcc-4.2, the version used to build python.org
64-bit/32-bit Pythons. If the user does not explicitly override
the default C compiler by setting the CC environment variable,
Distutils will now attempt to compile extension modules with clang
if gcc-4.2 is required but not found. Also as a convenience, if
the user does explicitly set CC, substitute its value as the default
compiler in the Distutils LDSHARED configuration variable for OS X.
(Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u
SDK, neither of which are available in Xcode 4. This change does not
attempt to override settings to support their use with Xcode 4.)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -113,6 +113,19 @@ Core and Builtins Library ------- +- Issue #13590: On OS X 10.7 and 10.6 with Xcode 4.2, building + Distutils-based packages with C extension modules may fail because + Apple has removed gcc-4.2, the version used to build python.org + 64-bit/32-bit Pythons. If the user does not explicitly override + the default C compiler by setting the CC environment variable, + Distutils will now attempt to compile extension modules with clang + if gcc-4.2 is required but not found. Also as a convenience, if + the user does explicitly set CC, substitute its value as the default + compiler in the Distutils LDSHARED configuration variable for OS X. + (Note, the python.org 32-bit-only Pythons use gcc-4.0 and the 10.4u + SDK, neither of which are available in Xcode 4. This change does not + attempt to override settings to support their use with Xcode 4.) + - Issue #13960: HTMLParser is now able to handle broken comments when strict=False. |