[New-bugs-announce] [issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

Robert Li report at bugs.python.org
Sun Jun 22 18:44:47 CEST 2014


New submission from Robert Li:

Failing test case: "  \tboo\n \tghost"

expected:          " \tboo\n\tghost"
returns:           "  \tboo\n \tghost"

----------
components: Library (Lib)
messages: 221277
nosy: pitrou, r.david.murray, robertjli, yjchen
priority: normal
severity: normal
status: open
title: textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace
type: behavior
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21827>
_______________________________________


More information about the New-bugs-announce mailing list