On Wed, 31 May 2023 at 08:16, Barry <ba...@barrys-emacs.org> wrote: > I don’t think it security but robustness that needs the subprocess. > > Also if your code use tk then it would conflict with idle’s use of tk. >
From my memory, it's precisely this - it's much MUCH easier to allow you to use Tk in your own program without conflicting with Idle's own use of it. I'm sure it would be possible to make everything work in one process, but the cost of doing so would be greater than the costs of juggling two processes. ChrisA -- https://mail.python.org/mailman/listinfo/python-list