[Python-Dev] Implementing File Modes
MRAB
python at mrabarnett.plus.com
Tue Jul 28 01:41:53 CEST 2009
Steven D'Aprano wrote:
> On Tue, 28 Jul 2009 03:21:30 am MRAB wrote:
>
>> What about stderr? You could add "e" if you want to read from it.
>
> "Read from stderr" is just a read. "Write to stderr" is just a write.
> The difference between reading stdout and stderr is not that you have
> different modes, but that you are reading from different files.
>
By the same argument, aren't stdin and stdout also different files?
More information about the Python-Dev
mailing list