You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-09-05.14:47:29.931>created_at=<Date2013-09-04.14:49:28.092>labels= ['easy', 'type-bug', 'library']
title='Output versions of scripts to stdout'updated_at=<Date2013-09-06.13:56:37.647>user='https://github.com/serhiy-storchaka'
Activity
serhiy-storchaka commentedon Sep 4, 2013
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 bpo-18338 and bpo-18920.
nicolapalumbo commentedon Sep 4, 2013
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
python-dev commentedon Sep 5, 2013
New changeset e81699a6390c by Serhiy Storchaka in branch 'default':
Issue bpo-18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
http://hg.python.org/cpython/rev/e81699a6390c
serhiy-storchaka commentedon Sep 5, 2013
Thank you Nicola and Berker.
python-dev commentedon Sep 6, 2013
New changeset 587bdb940524 by Eli Bendersky in branch 'default':
Update whatsnew/3.4 wrt. --version going to stdout. bpo-18338, bpo-18920, bpo-18922
http://hg.python.org/cpython/rev/587bdb940524