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 paul.j3
Recipients BreamoreBoy, berker.peksag, bethard, denilsonsa, flox, paul.j3, zbysz
Date 2014-07-16.23:30:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405553418.24.0.0648998860604.issue13041@psf.upfronthosting.co.za>
In-reply-to
Content
The latest patch, using _shutil.get_terminal_size(), looks fine.  

It lets environ['COLUMNS'] have priority over the end user's terminal width, as demonstrated by the change to test_argparse.  test_argparse doesn't test changing the actual terminal size, but I imagine that would be a pain to implement.
History
Date User Action Args
2014-07-16 23:30:18paul.j3setrecipients: + paul.j3, bethard, zbysz, denilsonsa, flox, BreamoreBoy, berker.peksag
2014-07-16 23:30:18paul.j3setmessageid: <1405553418.24.0.0648998860604.issue13041@psf.upfronthosting.co.za>
2014-07-16 23:30:18paul.j3linkissue13041 messages
2014-07-16 23:30:17paul.j3create