Moved things around a bit in interact(), so outout is processed before
input. When an EOF is read, break out of the loop instead of (by default) writing an empty line (which doesn't do much good). Don't close self when falling through the loop.
G
Guido van Rossum committed
5baf4bc97863dc2a5e89ca22ac73bdbf34dff925
Parent: 588f38e