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 56a09cb commit 88cef81Copy full SHA for 88cef81
1 file changed
Python/pystate.c
@@ -3053,7 +3053,7 @@ push_chunk(PyThreadState *tstate, int size)
3053
}
3054
_PyStackChunk *new;
3055
if (tstate->datastack_cached_chunk != NULL
3056
- && tstate->datastack_cached_chunk->size >= allocate_size)
+ && (size_t)allocate_size <= tstate->datastack_cached_chunk->size)
3057
{
3058
new = tstate->datastack_cached_chunk;
3059
tstate->datastack_cached_chunk = NULL;
0 commit comments