Skip to content

Fix detokenization blowing up maximum recursion depth in python#18

Draft
HLWeil wants to merge 2 commits into
mainfrom
python_recursionDepth
Draft

Fix detokenization blowing up maximum recursion depth in python#18
HLWeil wants to merge 2 commits into
mainfrom
python_recursionDepth

Conversation

@HLWeil

@HLWeil HLWeil commented Mar 23, 2026

Copy link
Copy Markdown
Member

closes #17

Both reader and detokenizer now follow an interative instead of recursive approach.

I implemented a test case which was failing with the error message described in the issue and now runs through. Have to recheck the code though before merging.

@HLWeil HLWeil changed the title Python recursion depth Fix detokenization blowing up maximum recursion depth in python Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Python] List decoding exceeds recursion limit

1 participant