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.
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.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator