• Guido van Rossum's avatar
    Use a different implementation of EventHook(). The new version · b4c3efd8
    Guido van Rossum authored
    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 :-(
    b4c3efd8
_tkinter.c 38.4 KB