Skip to content

[3.15] gh-160176: Fix crash in tkinter on deeply nested or recursive lists (GH-160177) - #161071

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-9c0cfb1-3.15
Open

miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-9c0cfb1-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Converting a nested list or tuple to a Tcl object now raises ValueError
above 1000 levels, the same limit _flatten() uses. Converting a deeply
nested Tcl list back to Python now raises RecursionError.

ANT-2026-7UKC5QED
(cherry picked from commit 9c0cfb1)

Co-authored-by: Gregory P. Smith [email protected]

…ists (pythonGH-160177)

Converting a nested list or tuple to a Tcl object now raises ValueError
above 1000 levels, the same limit _flatten() uses.  Converting a deeply
nested Tcl list back to Python now raises RecursionError.

ANT-2026-7UKC5QED
(cherry picked from commit 9c0cfb1)

Co-authored-by: Gregory P. Smith <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants