-
Notifications
You must be signed in to change notification settings - Fork 702
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are many functions that are implemented using recursion besides TokenList.flatten() that could raise RecursionError. Move the try/except block handling RecursionError from TokenList.flatten() to FilterStack.run() to avoid any of them resulting in an unwanted RecursionError.
- Loading branch information
1 parent
e57923b
commit bbd8f51
Showing
2 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters