[issue1859] textwrap doesn't linebreak on "\n"

Matthew Barnett report at bugs.python.org
Tue Nov 23 03:31:35 CET 2010

Matthew Barnett <python at mrabarnett.plus.com> added the comment:

I'd be interested in having a go if I knew what the desired behaviour was, ie unit tests to confirm what was 'correct'.

How should it handle line breaks? Should it treat them like any other whitespace as at present, should it honour them, or should it get another option, eg 'honor_breaks' (if US spelling is the standard for Python's libraries)?

nosy: +mrabarnett

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list