This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients mjo, terry.reedy
Date 2020-12-19.01:48:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608342512.64.0.691309945022.issue42649@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-12-19 01:48:32terry.reedysetrecipients: + terry.reedy, mjo
2020-12-19 01:48:32terry.reedysetmessageid: <1608342512.64.0.691309945022.issue42649@roundup.psfhosted.org>
2020-12-19 01:48:32terry.reedylinkissue42649 messages
2020-12-19 01:48:32terry.reedycreate