Skip to content

Commit

Permalink
fix: set recursion limit to one million
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed May 23, 2024
1 parent 55ef464 commit 1dec3f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.4.10
- fix: set recursion limit to one million
0.4.9
- setup: bump dependency versions
0.4.8
Expand Down
3 changes: 3 additions & 0 deletions impose/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ def main():
print(__version__)
sys.exit(0)

# Set recursion limit to one million
sys.setrecursionlimit(10 ** 6)

# Starts the Impose application and handles its life cycle.
app = QtWidgets.QApplication(sys.argv)
# set window icon
Expand Down

0 comments on commit 1dec3f7

Please sign in to comment.