[Stackless] infinite recursion

John DeWeese deweese at ict.usc.edu
Fri Jun 13 00:14:01 CEST 2003


Use an iterative solution?     ;-)

   - John

On Wednesday, June 11, 2003, at 07:31 AM, Chao, Heng Sun wrote:

> 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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1931 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20030612/fb29983f/attachment.bin>


More information about the Stackless mailing list