projects
/
cipher-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a89ca3
)
Increased recursion limit in segment.py
author
Neil Smith
<neil.git@njae.me.uk>
Sat, 19 Oct 2013 15:23:24 +0000
(16:23 +0100)
committer
Neil Smith
<neil.git@njae.me.uk>
Sat, 19 Oct 2013 15:23:24 +0000
(16:23 +0100)
segment.py
patch
|
blob
|
history
diff --git
a/segment.py
b/segment.py
index 27bf103c573f0d228a03741ef34dd360138ad072..08bc0aa84244bf222655defba7b4a0773f87ebcf 100644
(file)
--- a/
segment.py
+++ b/
segment.py
@@
-3,6
+3,8
@@
import string
import collections
from math import log10
import itertools
+import sys
+sys.setrecursionlimit(1000000)
def memo(f):
"Memoize function f."