Python interpreter keeps restarting

Whenever I try to exit the python interpreter by doing cntrl+d or exit(), it then persistently restarts the python interpreter. I want to write a command in my console so I need to exit the interpreter. I tried opening new repl with the basic example of hello-world and I have the same issue. Every time I exit() or do cntrl+d it restarts the python interpreter and I just want it to end. Anyone able to help?

Bug description: python interpreter keeps restarting. I do cntrl+d and/or exit() and then the python interpreter starts agian in the console. I want to just exit it without it restarting.

**Expected vs Current Behavior:**the python interpreter should not restart on its own

Steps to reproduce:

Bug appears at this link: https://replit.com/~

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.58

Replit Profile: https://replit.com/@JonathanLederer

Try forking this repl and see if the forked version works. Or, enter kill 1 into the Shell.

Note that trying kill 1 before forking is always better.

Hey @JonathanLederer!

Can you please send me the link to the Repl that you’re seeing issues on?

Hi, this is intended behavior. Please make sure you are in the shell tab, not the console tab.

1 Like