From 3c9f69487d3f01b7c24cf4dbda2460c99094d1f3 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 8 Jul 2024 17:08:22 +0200 Subject: [PATCH] Add another include for Python 3.13 (#17509) Include `internal/pycore_setobject.h` necessary for `_PySet_Update`. --- mypyc/lib-rt/pythonsupport.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mypyc/lib-rt/pythonsupport.h b/mypyc/lib-rt/pythonsupport.h index 69ff120dd40d..8edc9abcf9f8 100644 --- a/mypyc/lib-rt/pythonsupport.h +++ b/mypyc/lib-rt/pythonsupport.h @@ -22,6 +22,7 @@ #include "internal/pycore_genobject.h" // _PyGen_FetchStopIterationValue #include "internal/pycore_object.h" // _PyType_CalculateMetaclass #include "internal/pycore_pyerrors.h" // _PyErr_FormatFromCause, _PyErr_SetKeyError +#include "internal/pycore_setobject.h" // _PySet_Update #include "internal/pycore_unicodeobject.h" // _PyUnicode_EQ, _PyUnicode_FastCopyCharacters #endif