replit / prybar

Pry open those interpreters.
GNU General Public License v2.0
253 stars 52 forks source link

python ctrl+c does not throw KeyboardInterrupt #4

Closed timmyichen closed 5 years ago

timmyichen commented 5 years ago

Reproduction: Try ctrl+c-ing at this repl: https://repl.it/@xMikee/FBZ-Encoding

More details: https://replit.canny.io/bug-reports/p/python-ctrlc-does-not-produce-keyboardinterrupt-exception

ozewski commented 5 years ago

Bug reporter here. Interesting to note: if I, from the Python interpreter in the browser, use os.system('main.py') to run the main.py file, KeyboardInterrupts work perfectly fine. But when running the repl via the "run" button at the top of the page, the issue occurs.

basicer commented 5 years ago

Fixed in #6