[sage-support] Re: loading large file

2021-04-02 Thread John H Palmieri
Another option might have been to preparse separately (using "sage -preparse matp11n2.sage" at the shell prompt) and then load the resulting Python file. John On Friday, April 2, 2021 at 12:02:38 PM UTC-7 Luis Finotti wrote: > The solution I found was to increase the recursion limit: I did

[sage-support] Re: loading large file

2021-04-02 Thread Luis Finotti
The solution I found was to increase the recursion limit: I did sys.setrecursionlimit(4500) It was enough for this. On Friday, April 2, 2021 at 7:51:42 AM UTC-4 Luis Finotti wrote: > I produced a very large text file (139MB) containing some input for Sage. > > The problem is that when I try to

[sage-support] loading large file

2021-04-02 Thread Luis Finotti
I produced a very large text file (139MB) containing some input for Sage. The problem is that when I try to load it, I get: sage: load('matp11n2.sage') --- RecursionErrorTraceback (most recent