[issue17113] argparse.RawDescriptionHelpFormatter should not delete blank lines
Roy Smith
report at bugs.python.org
Fri Dec 10 12:29:34 EST 2021
Roy Smith <roy at panix.com> 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 (and given msg223371, I agree it probably is), then at least the original behavior makes more sense, as it's got years of history behind it and dropping an extra blank line is less arbitrary than adding an extra space.
I've long since forgotten what real-world issue led me to open this, but it seems like it be easier to just document that extra trailing whitespace may not be honored.
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue17113>
_______________________________________
More information about the Python-bugs-list
mailing list