[Python-Dev] bitfields - short - and xlc compiler
Terry Reedy
tjreedy at udel.edu
Sun Mar 20 17:47:17 EDT 2016
On 3/20/2016 4:04 PM, Andrew Barnert via Python-Dev wrote:
> Agreed. But I think the test is reasonable on at least MSVC, gcc, clang, and icc. So what you need is some way to run the test on those compilers, but not on compilers that can't handle it.
The test could be conditioned on the compiler used.
>>> platform.python_compiler()
'MSC v.1900 64 bit (AMD64)'
The doc could say something about the feature only being available with
certain compilers.
--
Terry Jan Reedy
More information about the Python-Dev
mailing list