[Python-au] Recurision

DG david@fielden.com.au
Wed, 29 Jan 2003 11:16:49 +1100


I don't know about in a RE, however:

import sys
sys.setrecursionlimit(5000)

The upper limit is platform-dependant tho.

Rowdy


> -----Original Message-----
> From: python-au-admin@python.net [mailto:python-au-admin@python.net]On
> Behalf Of Graeme Matthew
> Sent: Wednesday, 29 January 2003 10:38 AM
> To: python-au@python.net
> Subject: [Python-au] Recurision
> 
> 
> 
> Hi all, Richard thanks for your help pn mysqldb, I thought it 
> would be more 
> complex (me duh !)
> 
> I have a serious problem with recursion in a re
> 
> I keep on getting:
> 
> maximum recursion limit exceeded
> 
> Has anyone else experienced this, and I hope that Python does 
> not have the
> limitations like Visual Basic where stack space is a minimum ?
> 
> any help would be great, ta !