[Stackless] infinite recursion

Chao, Heng Sun Hengsun.Chao at cognos.com
Wed Jun 11 16:31:52 CEST 2003


Hello All,

I'm new to stackless, but have finally figured out how to use stackless with
Python 2.2.

I was reading one of the posts on your boards, and you had suggested the
following code to enable stackless:

import sys
sys.enable_stackless(1)
sys.setrecursionlimit(sys.maxint)

Using stackfull, the recursion limit was 988, or something close.  After
changing these settings, the recursion limit is now 4288.  :(

I have heard that stackless provides infinite recursion.  I was hoping for
recursion levels of 1000000+, not 4000.

Any suggestions?

Heng Sun Chao
Solutions Testing Group
Cognos Inc.
(613) 738-1338 x 5051
HengSun.Chao at cognos.com


This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20030611/8b213ac0/attachment.htm>


More information about the Stackless mailing list