New submission from Jonathan Eunice: textwrap.dedent contains a bit of code that appears logical at first blush, but in fact can never execute under any input conditions.
Not only are the lines "dead code," they are the only thing (i.e. only non-debugging lines) now standing in the way of textwrap having 100% test coverage. Here is the proof: https://gist.github.com/jonathaneunice/86f6a721e48c89e272a778530e8f758c A PR removing the bogus lines is imminent. ---------- components: Library (Lib) messages: 295606 nosy: jonathaneunice priority: normal severity: normal status: open title: textwrap: dedent contains logic that can never execute type: enhancement versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30620> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com