Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67982

why does "python --version" write to standard error?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'tom': 0.07; 'bug.': 0.09; 'falls': 0.09; 'subject:version': 0.09; 'variance': 0.09; 'python': 0.11; 'entry.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'simpson': 0.16; 'subject:python': 0.16; 'seems': 0.21; 'manual': 0.22; 'header :User-Agent:1': 0.23; 'version': 0.36; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'subject:?': 0.36; 'error.': 0.37; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'hope': 0.61; 'content- disposition:inline': 0.62
Date Fri, 7 Mar 2014 18:57:44 +1100
From Cameron Simpson <cs@zip.com.au>
To python-list@python.org
Subject why does "python --version" write to standard error?
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
X-Optus-CM-Score 0
X-Optus-CM-Analysis v=2.1 cv=PqKqMW83 c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=K2qkxVT21noA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=0Wkxbn5hAAAA:8 a=ixx56aDUAAAA:8 a=o8BIFenyIExJpbuTubAA:9 a=CjuIK1q_8ugA:10 a=WCGKEFWim3YA:10 a=v3ijB4m2jLkA:10 a=ICYwfoULBJEA:10
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7891.1394179074.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1394179074 news.xs4all.nl 2887 [2001:888:2000:d::a6]:56187
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:67982

Show key headers only | View raw


This seems to write the python version to standard error. That seems
very wrong. And at variance with the manual entry.

Commentry?
-- 
Cameron Simpson <cs@zip.com.au>

This is not a bug. It's just the way it works, and makes perfect sense.
        - Tom Christiansen <tchrist@jhereg.perl.com>
I like that line. I hope my boss falls for it.
        - Chaim Frenkel <chaimf@cris.com>

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

why does "python --version" write to standard error? Cameron Simpson <cs@zip.com.au> - 2014-03-07 18:57 +1100

csiph-web