From 00ec7818771903e3007928d191d1297cdb3b5277 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 11 Feb 2025 14:49:42 -0500 Subject: [PATCH] gh-129244: Only remove the workaround when MSVC has the bugfix (#130011) --- Python/ceval.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Python/ceval.c b/Python/ceval.c index 5f8f0ae69ef3..1684fd7ecbdf 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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 -- 2.47.3