We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26dd72 commit fe0b04eCopy full SHA for fe0b04e
Objects/codeobject.c
@@ -447,7 +447,7 @@ _PyCode_Validate(struct _PyCodeConstructor *con)
447
*/
448
int max_stacksize = (int)(INT_MAX / sizeof(PyObject *))
449
- FRAME_SPECIALS_SIZE
450
- - PyTuple_GET_SIZE(con->localsplusnames);
+ - (int)PyTuple_GET_SIZE(con->localsplusnames);
451
if (con->stacksize >= max_stacksize) {
452
PyErr_SetString(PyExc_OverflowError, "code: co_stacksize is too large");
453
return -1;
0 commit comments