Skip to content

Increase the size of the test document in test_deeply_nested_content_model#149627

Open
stefanor wants to merge 1 commit intopython:mainfrom
stefanor:pyexpat-recursion-depth
Open

Increase the size of the test document in test_deeply_nested_content_model#149627
stefanor wants to merge 1 commit intopython:mainfrom
stefanor:pyexpat-recursion-depth

Conversation

@stefanor
Copy link
Copy Markdown
Contributor

@stefanor stefanor commented May 10, 2026

On Debian's i386 builds of Python with system Expat, the parser was happily parsing the entire document without raising RecursionError or crashing. The test was meant to check that RecursionError was raised instead of crashing (#145986).

The increased limit is borrowed from the (later reverted) 255026d. Presumably that change ran into a similar issue.

https://bugs.debian.org/1135052

…model

On Debian's `i386` builds of 3.15 with system Expat, the parser was
happily parsing the entire document without raising RecursionError or
crashing.

The increased limit is borrowed from the (later reverted)
255026d. Presumably that change ran
into a similar issue.
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting review labels May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant