[New-bugs-announce] [issue18338] option --version should send output to STDOUT

Jari Aalto report at bugs.python.org
Mon Jul 1 13:01:27 CEST 2013


New submission from Jari Aalto:

C.f. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603851

When user is calling program with options, it is not an error
condition to run:

	python --version

The output is now sent to stderr. Please change to send to stdout as
in other *nix utilities, in order to collect in shell scrips:

   version=$(python --version)

----------
components: Interpreter Core
messages: 192119
nosy: jaalto
priority: normal
severity: normal
status: open
title: option --version should send output to STDOUT
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18338>
_______________________________________


More information about the New-bugs-announce mailing list