<div dir="ltr">On Wed, Jan 9, 2013 at 10:02 AM, Guido van Rossum <span dir="ltr"><<a href="mailto:guido@python.org" target="_blank">guido@python.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">Changing event loops in the middle of event processing is not a common</span><br>
</div>
(or even useful) pattern. You start the event loop and then leave it<br>
alone.<br></blockquote><div><br></div><div style>Yes. It was not-so-great morning idea.</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Yes, 'write' part is good, I should mention it. I meant to say that I won't<br></div><div><div class="h5">
> need to explain that there were days when we had to handle a special marker<br>
> at the end of file.<br>
<br>
</div></div>But even today you have to mark the end somehow, to distinguish it<br>
from "not done yet, more could be coming". The equivalent is typing ^D<br>
into a UNIX terminal (or ^Z on Windows).</blockquote></div><div class="gmail_extra"><br></div>My interns told me that they remember EOF as special object only from high school when they had to study Pascal. I guess, in 5 years students won't understand how one can write an EOF. (and schools will finally replace Pascal with Python)</div>
<div class="gmail_extra"><div><br></div>-- <br><br><div>Kind regards, Yuriy.</div>
</div></div>