Skip to content

Commit 197e1ba

Browse files
regen
1 parent 126b60d commit 197e1ba

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Python/ceval_macros.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ do { \
453453
/* Stackref macros */
454454

455455
/* How much scratch space to give stackref to PyObject* conversion. */
456-
#define MAX_STACKREF_SCRATCH 8
456+
#define MAX_STACKREF_SCRATCH 10
457457

458458
#ifdef Py_GIL_DISABLED
459459
#define STACKREFS_TO_PYOBJECTS(ARGS, ARG_COUNT, NAME) \
@@ -468,6 +468,7 @@ do { \
468468

469469
#ifdef Py_GIL_DISABLED
470470
#define STACKREFS_TO_PYOBJECTS_CLEANUP(NAME) \
471+
/* +1 because we +1 previously */ \
471472
_PyObjectArray_Free(NAME, NAME##_temp + 1);
472473
#else
473474
#define STACKREFS_TO_PYOBJECTS_CLEANUP(NAME) \

Python/executor_cases.c.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)