*/
#if defined(_MSC_VER)
-# if defined(PY_LOCAL_AGGRESSIVE) && !defined(Py_DEBUG)
+# if defined(PY_LOCAL_AGGRESSIVE)
/* enable more aggressive optimization for MSVC */
+ /* active in both release and debug builds - see bpo-43271 */
# pragma optimize("gt", on)
#endif
/* ignore warnings if the compiler decides not to inline a function */
*/
/* enable more aggressive intra-module optimizations, where available */
+/* affects both release and debug builds - see bpo-43271 */
#define PY_LOCAL_AGGRESSIVE
#include "Python.h"