diff -r acc7439b1406 Lib/smtpd.py --- a/Lib/smtpd.py Sat Aug 31 00:26:02 2013 +0200 +++ b/Lib/smtpd.py Wed Sep 04 20:50:33 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__, file=sys.stdout) sys.exit(0) elif opt in ('-n', '--nosetuid'): options.setuid = 0 diff -r acc7439b1406 Misc/NEWS --- a/Misc/NEWS Sat Aug 31 00:26:02 2013 +0200 +++ b/Misc/NEWS Wed Sep 04 20:50:33 2013 +0200 @@ -1017,6 +1017,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 acc7439b1406 Tools/i18n/msgfmt.py --- a/Tools/i18n/msgfmt.py Sat Aug 31 00:26:02 2013 +0200 +++ b/Tools/i18n/msgfmt.py Wed Sep 04 20:50:33 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__, file=sys.stdout) sys.exit(0) elif opt in ('-o', '--output-file'): outfile = arg