This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zbysz
Recipients bethard, georg.brandl, terry.reedy, zbysz
Date 2012-01-07.09:34:22
SpamBayes Score 8.620478e-06
Marked as misclassified No
Message-id <1325928863.14.0.02604240404.issue13720@psf.upfronthosting.co.za>
In-reply-to
Content
> I am not setting columns, so that might be the important difference.
Yeah, the whole example with IDLE is moot: argparse only checks
$COLUMNS and defaults to 80, so if COLUMNS is not set, you are only
checking if the code works with 80 columns.

Please try my commandline example or set os.environ['COLUMNS'] = 15.
I get the exception in IDLE too.
History
Date User Action Args
2012-01-07 09:34:23zbyszsetrecipients: + zbysz, georg.brandl, terry.reedy, bethard
2012-01-07 09:34:23zbyszsetmessageid: <1325928863.14.0.02604240404.issue13720@psf.upfronthosting.co.za>
2012-01-07 09:34:22zbyszlinkissue13720 messages
2012-01-07 09:34:22zbyszcreate