The "loop and a half"

Chris Angelico rosuav at gmail.com
Fri Oct 6 14:56:19 EDT 2017


On Sat, Oct 7, 2017 at 5:47 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
> Chris Angelico <rosuav at gmail.com>:
>
>> On Sat, Oct 7, 2017 at 4:55 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
>>> Personally, I think stdin is a bit lame as a stimulus source for an
>>> interactive program. That's not even what stdin is primarily meant
>>> for; stdin is meant to be the input data for a job. Similarly, stdout
>>> is meant to be the result of the computation. Stderr, then, is used
>>> to deliver optional diagnostic messages, ie, metainfo about the
>>> computation.
>>
>> [...]
>>
>> Standard streams exist for a reason.
>
> That's exactly what I said.

And you also described it as "lame" for an interactive program.

ChrisA



More information about the Python-list mailing list