https://github.com/python/cpython/commit/00ec7818771903e3007928d191d1297cdb3b5277
commit: 00ec7818771903e3007928d191d1297cdb3b5277
branch: main
author: Michael Droettboom <[email protected]>
committer: mdboom <[email protected]>
date: 2025-02-11T14:49:42-05:00
summary:

gh-129244: Only remove the workaround when MSVC has the bugfix (#130011)

files:
M Python/ceval.c

diff --git a/Python/ceval.c b/Python/ceval.c
index 5f8f0ae69ef31b..1684fd7ecbdff2 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to