Re: Why does IDLE use a subprocess?

Terry Reedy <[email protected]> Thu, 27 Jul 2023 21:09:28 -0400
Newsgroups gmane.comp.python.idle
Message-ID <[email protected]>
On 6/1/2023 2:37 PM, Tal Einat wrote:

> Sharing the interpreter is a problem for various reasons, led by:
> * User code can break IDLE in many interesting and unexpected ways.
> * User code can block the main thread, which would make IDLE unresponsive.

A particular reason was to make IDLE better as an environment for 
writing tkinter code.  Better to have two separate mainloops in two 
separate processes.

-- 
Terry Jan Reedy