Message383351
One can use sys.setrecursionlimit to increase allowed recursion depth.
But... When I ran code from 3.10.0a3 IDLE editor, something hung. Without touching recursion limit, when I split statement apart into
ex = compile("""<300 lines>""", '', 'eval')
print(eval(ex))
I got 106994.5 in under a second. With exec, ditto except that None is printed. Same last result with 3.9.1. |
|
Date |
User |
Action |
Args |
2020-12-19 01:48:32 | terry.reedy | set | recipients:
+ terry.reedy, mjo |
2020-12-19 01:48:32 | terry.reedy | set | messageid: <1608342512.64.0.691309945022.issue42649@roundup.psfhosted.org> |
2020-12-19 01:48:32 | terry.reedy | link | issue42649 messages |
2020-12-19 01:48:32 | terry.reedy | create | |
|