summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 0993b54..fe27fbc 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -182,8 +182,9 @@ typedef int Py_ssize_clean_t;
*/
#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 */