Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion InternalDocs/stack_protection.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CPython protects against stack overflow in the form of runaway, or just very dee
Protection against pure Python stack recursion has existed since very early, but in 3.12 we added protection against stack overflow
in C code. This was initially implemented using a counter and later improved in 3.14 to use the actual stack depth.
For those platforms that support it (Windows, Mac, and most Linuxes) we query the operating system to find the stack bounds.
For other platforms we use conserative estimates.
For other platforms we use conservative estimates.


The C stack looks like this:
Expand Down
Loading