diff -r ac27d979078a Lib/smtpd.py --- a/Lib/smtpd.py Thu Sep 05 00:23:08 2013 +0200 +++ b/Lib/smtpd.py Thu Sep 05 16:05:49 2013 +0200 @@ -780,7 +780,7 @@ if opt in ('-h', '--help'): usage(0) elif opt in ('-V', '--version'): - print(__version__, file=sys.stderr) + print(__version__) sys.exit(0) elif opt in ('-n', '--nosetuid'): options.setuid = 0 diff -r ac27d979078a Misc/NEWS --- a/Misc/NEWS Thu Sep 05 00:23:08 2013 +0200 +++ b/Misc/NEWS Thu Sep 05 16:05:49 2013 +0200 @@ -1043,6 +1043,9 @@ - Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters. +- Issue #18922: Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write + their version strings to stdout, and not to sderr. + What's New in Python 3.3.1 release candidate 1? =============================================== diff -r ac27d979078a Tools/i18n/msgfmt.py --- a/Tools/i18n/msgfmt.py Thu Sep 05 00:23:08 2013 +0200 +++ b/Tools/i18n/msgfmt.py Thu Sep 05 16:05:49 2013 +0200 @@ -218,7 +218,7 @@ if opt in ('-h', '--help'): usage(0) elif opt in ('-V', '--version'): - print("msgfmt.py", __version__, file=sys.stderr) + print("msgfmt.py", __version__) sys.exit(0) elif opt in ('-o', '--output-file'): outfile = arg