[issue42966] argparse: customizable help formatter

2021-01-29 Thread Tadek Kijkowski
Tadek Kijkowski added the comment: This is just repackaging old ideas into nice box. Instead of creating lambdas or generator function for each particular case, there is one easy to use, universal class. It will be finally written in official documentation how to change indentation. ---

[issue42966] argparse: customizable help formatter

2021-01-29 Thread Tadek Kijkowski
Change by Tadek Kijkowski : -- keywords: +patch pull_requests: +23197 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24377 ___ Python tracker ___

[issue42966] argparse: customizable help formatter

2021-01-22 Thread paul j3
paul j3 added the comment: Years ago I proposed a `format_wrapper`, a Format class factory https://bugs.python.org/issue12806#msg218395 also https://bugs.python.org/issue39809 There I show that the formatter may be lambda formatter = lambda prog: argparse.HelpFormatter(prog, width=100)

[issue42966] argparse: customizable help formatter

2021-01-21 Thread hai shi
Change by hai shi : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue42966] argparse: customizable help formatter

2021-01-19 Thread Tadek Kijkowski
Change by Tadek Kijkowski : -- title: argpare: customizable help formatter -> argparse: customizable help formatter ___ Python tracker ___