treyhunner, The Python Morsels REPL (https://pym.dev/repl) now properly supports using Ctrl+D to stop standard input! A user recently tested out code that relied on sys.stdin.read() and ended up stuck without a way to send EOF.
Thanks @notsolonecoder for a 1.5 year old unmerged CPython PR that contained the keys to fixing this issue!
Add comment