[Twisted-Python] Unjelly - recursion limit reached

Christopher Armstrong radeex at gmail.com
Fri Nov 11 20:21:21 EST 2005


On 11/12/05, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> On Fri, 11 Nov 2005 08:26:03 -0600, "David K. Hess" <dhess at verscend.com> wrote:
> >This is a pretty scary limitation. Is anybody working on a non- recursion
> >based version of jelly? Am I going to have to move to  Stackless Python?
>
> You can raise the recursion limit.  See sys.setrecursionlimit().
>
> Stackless has nothing to do with this.  It won't help fix this problem.

Ehh, it will allow you to go to bounds only restricted by your memory
without segfaulting, unlike CPython. My machine can only go up to
2000some Python stackframes before segfaulting, I think. With
stackless, I could go to kajillions, probably.


--
  Twisted   |  Christopher Armstrong: International Man of Twistery
   Radix    |    -- http://radix.twistedmatrix.com
            |  Release Manager, Twisted Project
  \\\V///   |    -- http://twistedmatrix.com
   |o O|    |
w----v----w-+




More information about the Twisted-Python mailing list