Re: Further adventures in the land of 64-bit linux

Guido van Rossum <[email protected]> Mon, 16 Sep 2002 17:52:22 -0400
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
> > Can you please try the attached patch?
> [snip]
> 
> Like a charm.

Great!  Martin will check it in.

> Next one to "fail" is test_longexp, which bloats the interpreter
> massively. Simplified, it looks like this:
> 
> >>> l = eval ("[" + "2," * 65580 + "]")

Could it be that the parse tree uses twice the memory on a 64-bit
machine, and that that is simply too much?  Give it a try with smaller
values of 65580. (:-)

--Guido van Rossum (home page: http://www.python.org/~guido/)