Open
Description
A Windows-specific crash was revealed by the test case added in PR #1242, which fixes a recursion depth mismatch between JSONDecoder
and JSONEncoder
.
On macOS and Linux, all tests including the deeply nested JSON case pass. However, on Windows, the process crashes during JSONEncoderTests.test_JSONPassTests
, exiting without any test result line, which suggests a potential stack overflow caused by deep recursion.
Reproduction
- On Windows, run
JSONEncoderTests.test_JSONPassTests
from the test suite introduced in Fix #1176 JSON Decoder and Encoder limit disagreement #1242.
Relevant links
- PR Fixing Encoder/Decoder Mismatch: Fix #1176 JSON Decoder and Encoder limit disagreement #1242
- Original bug report: JSONEncoder can't encode what JSONDecoder decoded (they disagree on limits...) #1176
Metadata
Metadata
Assignees
Labels
No labels