Created
July 10, 2016 12:52
-
-
Save vitorfs/a6481883d20c74c3f291ed847cb53903 to your computer and use it in GitHub Desktop.
Change Python Recursion Limit
This file contains hidden or 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
import sys | |
# Get current limit | |
sys.getrecursionlimit() # Outputs 1000 (default) | |
# Set new limit | |
sys.setrecursionlimit(2000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment