[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2021-12-10 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2021-12-10 Thread Roy Smith
Roy Smith added the comment: It's nice to see this is still being worked on after all these years :-) I'm not actually convinced the proposed fix makes sense. It swaps out one incorrect behavior for a different incorrect behavior. If it really is more effort than it's worth to fix this

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2021-12-10 Thread Irit Katriel
Irit Katriel added the comment: Adding a space as Paul suggests works. I'll close this soon if nobody objects. -- nosy: +iritkatriel resolution: -> wont fix status: open -> pending ___ Python tracker

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2019-04-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2014-07-17 Thread Mark Lawrence
Mark Lawrence added the comment: Can we have this followed up please. -- nosy: +BreamoreBoy, paul.j3 versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17113 ___

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2014-07-17 Thread paul j3
paul j3 added the comment: I suspect fixing this isn't going to be easy. Extra lines are removed by the top most `formatter` function: def format_help(self): help = self._root_section.format_help() if help: help = self._long_break_matcher.sub('\n\n', help)

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2014-07-17 Thread paul j3
paul j3 added the comment: A user could preserve blank lines by including a space (or more) in each. That is, instead of ending with '\n', end with '\n \n'. epilog = 'Epilog: No wrap text %(prog)s\n\tNext line\n \n' --- I just checked a simple help. The description and epilog

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2013-02-03 Thread Roy Smith
New submission from Roy Smith: The following code, when run with --help, omits the trailing newlines from the epilog. It should just emit the string verbatim. If the developer didn't want the extra newlines, he/she wouldn't have put them there. import argparse parser =

[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines

2013-02-03 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- nosy: +bethard, chris.jerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17113 ___ ___