Issue 18922: Output versions of scripts to stdout (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/63122

classification

Title: Output versions of scripts to stdout
Type: behavior Stage: resolved
Components: Demos and Tools, Library (Lib) Versions: Python 3.4

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, nicola.palumbo, python-dev, serhiy.storchaka
Priority: normal Keywords: easy, patch

Created on 2013-09-04 14:49 by serhiy.storchaka, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue18922.patch nicola.palumbo,2013-09-05 14:08 review
Messages (5)
msg196922 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-04 14:49
The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write their version strings to stderr. It should be changed to stdout for consistency with most common practice. See also and .
msg196942 - (view) Author: Nicola Palumbo (nicola.palumbo) * Date: 2013-09-04 18:58
Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write their version strings to stdout, and not to sderr. Applying the patch the stdout can be redirect /python.exe Lib/smtpd.py --version >> /dev/null Without the patch: /python.exe Lib/smtpd.py --version >> /dev/null Python SMTP proxy version 0.3
msg197003 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-09-05 14:45
New changeset e81699a6390c by Serhiy Storchaka in branch 'default': Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write http://hg.python.org/cpython/rev/e81699a6390c
msg197004 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2013-09-05 14:47
Thank you Nicola and Berker.
msg197070 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-09-06 13:56
New changeset 587bdb940524 by Eli Bendersky in branch 'default': Update whatsnew/3.4 wrt. --version going to stdout. #18338, #18920, #18922 http://hg.python.org/cpython/rev/587bdb940524
History
Date User Action Args
2022-04-11 14:57:50 admin set github: 63122
2013-09-06 13:56:37 python-dev set messages: +
2013-09-05 14:47:29 serhiy.storchaka set status: open -> closedresolution: fixedmessages: + stage: patch review -> resolved
2013-09-05 14:45:23 python-dev set nosy: + python-devmessages: +
2013-09-05 14:08:26 nicola.palumbo set files: + issue18922.patch
2013-09-05 14:06:25 nicola.palumbo set files: - issue18922.patch
2013-09-04 21:12:21 serhiy.storchaka set stage: needs patch -> patch review
2013-09-04 18:58:01 nicola.palumbo set files: + issue18922.patchnosy: + nicola.palumbomessages: + keywords: + patch
2013-09-04 17:50:00 berker.peksag set nosy: + berker.peksag
2013-09-04 14:49:28 serhiy.storchaka create