logo       

Re: [Python-Dev] Implementing File Modes: msg#00629

python-dev

Subject: Re: [Python-Dev] Implementing File Modes

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?
_______________________________________________
Python-Dev mailing list
Python-Dev@xxxxxxxxxx
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/maillists%40codeha.us

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise