[Twisted-Python] Unjelly - recursion limit reached

Jean-Paul Calderone exarkun at divmod.com
Fri Nov 11 23:08:36 EST 2005

On Sat, 12 Nov 2005 12:21:21 +1100, Christopher Armstrong <radeex at gmail.com> wrote:
>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.

That is only because you failed to raise your operating-system enforced stack limit (often controlled with the ulimit shell command).


More information about the Twisted-Python mailing list