As far as I understand:
- The OS kernel (e.g. Linux) alwaysallocates a stack for each system-level thread when a thread is created.
- CPython is known for using a private heap for its objects, including presumably the call stack for Python subroutines.
If so, what is the stack used for in CPython, if anything?