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 elazar
Recipients adambyrtek, aronacher, bethard, elazar, ezio.melotti, serhiy.storchaka
Date 2013-09-01.21:10:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378069853.77.0.597127130619.issue13107@psf.upfronthosting.co.za>
In-reply-to
Content
I think in such case it is reasonable to fail silently, since the information will not be readable anyway.
Is a patch like the attached acceptable? (Sorry, I am new here)

results:

>>> import os, argparse; p = argparse.ArgumentParser(prog='PROG')
>>> os.environ['COLUMNS'] = '0'
>>> print(p.format_help())
usage: PROG
       
       [-h]

optional arguments:
  -h, --help  

>>>
History
Date User Action Args
2013-09-01 21:10:53elazarsetrecipients: + elazar, bethard, aronacher, ezio.melotti, adambyrtek, serhiy.storchaka
2013-09-01 21:10:53elazarsetmessageid: <1378069853.77.0.597127130619.issue13107@psf.upfronthosting.co.za>
2013-09-01 21:10:53elazarlinkissue13107 messages
2013-09-01 21:10:53elazarcreate