Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase recursion limit and add error handling for deep recursion of… #747

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Commits on Oct 27, 2024

  1. Increase recursion limit and add error handling for deep recursion of…

    … ASTs
    
    This commit raises the recursion limit to 10000 to accommodate deeper recursive operations in the AST parsing process. Additionally, it introduces try-except blocks to catch and handle RecursionErrors gracefully, ensuring the program can recover and continue processing when the recursion depth exceeds the newly set limit. This approach enhances the robustness of our AST traversal by preventing abrupt terminations due to recursion depth issues.
    
    Signed-off-by: Pankaj Thorat <thorat.pankaj9@gmail.com>
    pankajskku committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    d561b10 View commit details
    Browse the repository at this point in the history