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

James Schaffler jschaffler at proton.me
Wed Jun 7 20:28:16 EDT 2023


Hi Tal,

On Tuesday, June 6th, 2023, Tal Einat wrote:
> You're welcome to try it yourself! Run IDLE without a subprocess by
> passing the "-n" flag (e.g. python -m idlelib -n), then in the shell
> do things that affect the entire process in various ways.
> 
> Some interesting examples: run a tight loop, run some long-running
> code that runs compiled code rather than Python code, change global
> state such as sys.stdout and sys.stderr, and on and on. Have fun
> breaking IDLE!

Will try! Thank you!

Jim


More information about the IDLE-dev mailing list