Zbyszek Szmek <zbys...@in.waw.pl> added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13720> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com