Actually, nevermind. It appears that receiving an EOF from a stream
tells it when to stop 'reading', not necessarily that the stream is
closed. What a weird behavior.
--
http://mail.python.org/mailman/listinfo/python-list
Writing the binary value for ^D into the stream will not do anything.
That value signals the shell to close the stream, as such it only has
significance when you're typing something into the shell.
To the OP: writing an EOF to a stream without closing it makes no
sense. EOF means just that--end of