SIGN IN SIGN UP

Use a different implementation of EventHook(). The new version

registers an input file handler for stdin with Tcl and handles Tcl
events until something is available on stdin; it then deletes the
handler and returns from EventHook().

This works with or without GNU readline, and doesn't busy-wait.

It still doesn't work for Mac or Windows :-(
G
Guido van Rossum committed
7bf15648a4348959832f7ad8da019b4a5892f890
Parent: 6a50ba8