[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace
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 rep...@bugs.python.org http://bugs.python.org/issue21827 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace
Robert Li added the comment: YJ and I are adding a patch and an additional test. -- hgrepos: +258 versions: -Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21827 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace
Changes by Robert Li li.robertj+pythonb...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file35727/cb18733ce8f1.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21827 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace
Changes by Robert Li li.robertj+pyt...@gmail.com: Added file: http://bugs.python.org/file35731/34e88a05562f.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21827 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com