]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-129244: Only remove the workaround when MSVC has the bugfix (#130011)
authorMichael Droettboom <mdboom@gmail.com>
Tue, 11 Feb 2025 19:49:42 +0000 (14:49 -0500)
committerGitHub <noreply@github.com>
Tue, 11 Feb 2025 19:49:42 +0000 (14:49 -0500)
Python/ceval.c

index 5f8f0ae69ef31b6b50f0dc2fff80bb084cb36d3c..1684fd7ecbdff23ebe38ef447e5ea81cf05dc8bc 100644 (file)
@@ -767,6 +767,7 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
 /* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC.
  */
 #if (defined(_MSC_VER) && \
+     (_MSC_VER < 1943) && \
      defined(_Py_USING_PGO))
 #define DO_NOT_OPTIMIZE_INTERP_LOOP
 #endif