mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
* gh-98925: Lower marshal recursion depth for WASI (GH-98938)
For wasmtime 2.0, the stack depth cost is 6% higher. This causes the default max `marshal` recursion depth to blow the stack.
As the default marshal depth is 2000 and Windows is set to 1000, split the difference and choose 1500 for WASI to be safe.
(cherry picked from commit 9711265182)
Co-authored-by: Brett Cannon <brett@python.org>
2 lines
76 B
ReStructuredText
2 lines
76 B
ReStructuredText
Lower the recursion depth for marshal on WASI to support
|
|
wasmtime 2.0/main.
|