> On Wed, Jan 31, 2001 at 12:57:26PM +0300, Karpov Denis
> Sergeevic wrote:
> > Python 2.0:
> > When I use regular expression with rather big file (150,000 byte), I
> > get error: "RuntimeError: maximum recursion limit exceeded"
> >
> > But on Pytnon 1.52 in the same situation it's OK.
> >
> > Maybe because stack size.
> >
> > Is it fatal? Can I do something with it?
>

Changing the recursion limit on Python interpreter might help. You can use
sys.setrecursionlimit(limit) function to change the maximum number of
recursions.
but too high a limit might crash your system.

cheers,
Houman

--
Houman Ghaemi
[EMAIL PROTECTED]

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
  • ... Карпов Денис Сергеевич
    • ... Phil Harris
    • ... Phil Harris
      • ... Christian Tismer
    • ... Trent Mick
    • ... Houman G
    • ... Markus Schönhaber
    • ... Trent Mick
    • ... Markus Schönhaber
    • ... David Niergarth

Reply via email to