Skip to content

Commit 2d1a9db

Browse files
committed
Add comments about data stack sizes.
1 parent 19ac31a commit 2d1a9db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Python/pystate.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,11 @@ PyInterpreterState_GetDict(PyInterpreterState *interp)
607607
return interp->dict;
608608
}
609609

610+
/* Size of data stack
611+
* Experimentally this can be set as low as 12k and have all the tests
612+
* pass (64bit linux). */
610613
#define DATA_STACK_SIZE (62*1024)
614+
/* Additional stack space for error recovery */
611615
#define DATA_STACK_HEADROOM (2*1024)
612616

613617
static PyThreadState *

0 commit comments

Comments
 (0)