[Idle-dev] Why does IDLE use a subprocess?

Terry Reedy tjreedy at udel.edu
Thu Jul 27 21:09:28 EDT 2023


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




More information about the IDLE-dev mailing list