trio
trio copied to clipboard
Improve REPL KI
This commit has a draft method to fix #3007. I have 0 ideas on how to test this thing: not only does it use the raw_input
that gets patched for testing, but the way it injects a newline is basically impossible for a test runner to pass in. Also, it feels fragile somehow to dip in and out of the trio loop patching the signal handler and peeking for KeyboardInterrupt
.