# HG changeset patch # User Teemu Piippo # Date 1429465969 -10800 # Node ID 66b206bd9510253190adc274b7ddd8b525648def # Parent 0fc519afba895055e39915cf375410fdb2866809 Cranked up the runaway (8 was only for testing) diff -r 0fc519afba89 -r 66b206bd9510 calc.py --- a/calc.py Sun Apr 19 20:49:43 2015 +0300 +++ b/calc.py Sun Apr 19 20:52:49 2015 +0300 @@ -507,7 +507,7 @@ while x > 0: runaway += 1 - if runaway > 8: + if runaway > 1000: raise ValueError('runaway triggered') i = (x % divisor) / (divisor / PreferredBase)