[issue31696] don't mention GCC in sys.version when built with Clang

2017-10-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 7faf7e50757dde2cb8583ee08ef31f4b8312e44f by Benjamin Peterson in branch 'master': closes bpo-31696: don't mention GCC in sys.version when building with clang (#3891)

[issue31696] don't mention GCC in sys.version when built with Clang

2017-10-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +3865 stage: -> patch review ___ Python tracker ___

[issue31696] don't mention GCC in sys.version when built with Clang

2017-10-04 Thread Benjamin Peterson
New submission from Benjamin Peterson : When built with clang, Python reports that it was built with something like "GCC 4.2.1 Compatible Clang 4.0.0 (tags/RELEASE_400/rc1)". This is because clang pretends to be GCC 4.2.1 for the purposes of the __VERSION__ preprocessor