Author silvioricardoc
Recipients silvioricardoc
Date 2010-12-18.03:10:54
SpamBayes Score 8.9904e-05
Marked as misclassified No
Message-id <1292641856.45.0.125469009304.issue10728@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation at http://docs.python.org/dev/library/argparse.html explicitly says that "If file is None, sys.stderr is assumed".

However, both print_usage and print_help assume sys.stdout when file=None. The helper method _print_message actually does it right, when called with file=None.
History
Date User Action Args
2010-12-18 03:10:56silvioricardocsetrecipients: + silvioricardoc
2010-12-18 03:10:56silvioricardocsetmessageid: <1292641856.45.0.125469009304.issue10728@psf.upfronthosting.co.za>
2010-12-18 03:10:54silvioricardoclinkissue10728 messages
2010-12-18 03:10:54silvioricardoccreate