[Python-Dev] PEP 554 v4 (new interpreters module)
Eric Snow
ericsnowcurrently at gmail.com
Wed Dec 6 03:10:31 EST 2017
On Dec 5, 2017 23:49, "Nick Coghlan" <ncoghlan at gmail.com> wrote:
Nice updates! I like this version.
Great! :)
My one suggestion here would be to consider a dedicated exception type
like "interpreters.SubinterpreterError", rather than re-using
RuntimeError directly. That way you can put the extracted traceback on
a named attribute, and retain the option of potentially adding
subinterpreter awareness to the traceback module in the future.
Yeah, I already have a deferred idea item for this. :). TBH, I was on the
fence about a dedicated exception type, so you've nudged me on board. :)
-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171206/44f0506a/attachment.html>
More information about the Python-Dev
mailing list