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 aroberge, terry.reedy
Date 2021-10-22.01:16:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634865363.71.0.773902608657.issue45560@roundup.psfhosted.org>
In-reply-to
Content
The method to run just code in userspace, without involving the debugger or history list, is runcommand.  It needs a code string.  The hard part is the code needed to recreate the exception instance in the user space.  It will be different for SyntaxError versus the other error possible when compiling.  The SE details tuple has a mix of strs and ints.  I believe I know in principle how to do it.
History
Date User Action Args
2021-10-22 01:16:03terry.reedysetrecipients: + terry.reedy, aroberge
2021-10-22 01:16:03terry.reedysetmessageid: <1634865363.71.0.773902608657.issue45560@roundup.psfhosted.org>
2021-10-22 01:16:03terry.reedylinkissue45560 messages
2021-10-22 01:16:03terry.reedycreate