Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 921198 - Increase pymake recursion limit (again); r=glandium
Browse files Browse the repository at this point in the history
  • Loading branch information
indygreg committed Sep 26, 2013
1 parent 31c39a8 commit 124795b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/pymake/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@

# This is meant as a temporary workaround until issues with many targets
# and prerequisites is addressed. Bug 874210 tracks.
#
# The default recursion limit for CPython is 1000.
try:
sys.setrecursionlimit(2 * sys.getrecursionlimit())
sys.setrecursionlimit(10000)
except Exception:
print >>sys.stderr, 'Unable to increase Python recursion limit.'

Expand Down

0 comments on commit 124795b

Please sign in to comment.