This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: version string printed on STDERR
Type: behavior Stage: resolved
Components: Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, larkost
Priority: normal Keywords:

Created on 2014-06-06 20:25 by larkost, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg219896 - (view) Author: larkost (larkost) Date: 2014-06-06 20:25
When getting the version of the Python interpreter with `python --version` the output is going to STDERR rather than STDOUT. This is non-standard behavior, and is surprising.

For example I was writing a dependency into a makefile, and this behavior caused me a good 5 minutes of debugging my script before I realized it was bad behavior on the command line.
msg219897 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2014-06-06 20:32
This was fixed for Python 3.4 in issue 18338. See also https://docs.python.org/3/whatsnew/3.4.html#other-improvements for release notes.
History
Date User Action Args
2022-04-11 14:58:04adminsetgithub: 65880
2014-06-06 20:53:51r.david.murraysetstatus: open -> closed
resolution: out of date
stage: resolved
2014-06-06 20:32:29berker.peksagsetnosy: + berker.peksag
messages: + msg219897
2014-06-06 20:25:14larkostcreate