[Python-Dev] PEP 554 v2 (new "interpreters" module)

Eric Snow ericsnowcurrently at gmail.com
Tue Sep 12 17:48:37 EDT 2017


On Sat, Sep 9, 2017 at 11:04 AM, Nathaniel Smith <njs at pobox.com> wrote:
> This phrase "bubble up" here is doing a lot of work :-). Can you elaborate
> on what you mean? The text now makes it seem like the exception will just
> pass from one interpreter into another, but that seems impossible

I've updated the PEP to clarify.

> it'd mean sharing not just arbitrary user defined exception classes but full
> frame objects...

My current implementation does the right thing currently.  However, it
would probably struggle under a more tightly controlled
inter-interpreter boundary.  I'll take a look and also update the PEP.

-eric


More information about the Python-Dev mailing list