[Python-Dev] Visual Studio 2008 compiler option EHsc ?

"Martin v. Löwis" martin at v.loewis.de
Sun May 18 22:02:56 CEST 2008


> Is there any downside to doing this by default?

The most obvious one is the (slight) loss of performance.

The mere fact that it is an option, and not enabled by default,
indicates that there might be problems enabling it. One problem
might be that some applications may require support for
asynchronous (structured) exceptions and want to specify /EHa,
or that they have cases where C functions throw C++ exceptions,
so they want to specify /EHs (no c).

So yes, unfortunately, you'll have to add the option into your
own setup.py, it seems.

Regards,
Martin


More information about the Python-Dev mailing list