Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7240) Generator doesn't work with python >=2.2
Home

[Freeciv-Dev] Re: (PR#7240) Generator doesn't work with python >=2.2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7240) Generator doesn't work with python >=2.2
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 08:33:33 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7240 >

On Wed, Jan 14, 2004 at 07:51:37AM -0800, imbaczek@xxxxxxxxxxxxxx wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7240 >
> 
> On 04-01-14 you wrote:
> 
> > You get an "maximum recursion limit exceeded" error. Python 1.5 works
> > fine. Thomas reported this via IRC. The attached patch replaces the RE
> > usage with normal string operations.
> 
> Did you try tweaking recurision limit with sys.setrecursionlimit
> first?

No. But 1.5 doesn't know this function. So we would have to check the
version. I think that the proposed solution with the string module is
easier.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "We've all heard that a million monkeys banging on a million typewriters
  will eventually reproduce the entire works of Shakespeare.
  Now, thanks to the Internet, we know this is not true."




[Prev in Thread] Current Thread [Next in Thread]